scurest

Results 182 comments of scurest

I can confirm this. I tested it with this server ````rust extern crate simple_server; fn main() { use simple_server::Server; let server = Server::new(|request, mut response| { if request.uri() == "/sleep"...

This works for me on current master.

Note that empty components in a path are ignored: `/`, `//`, and `///////` all name the same directory. With that in mind, a client can currently access any file the...

Or how does this look to mitigate it? https://github.com/scurest/simple-server/commit/3ed6abe1a61e18f6dfdf3484902945d2a1e23699 We trim the single leading slash, put the rest into a path and iterate over its components, pushing the normals ones...

On master, `examples/server.rs`'s response now looks like ```` < HTTP/1.1 200 OK < content-length: 11 < ```` so it does include the content length and curl doesn't produce `* no...

Oh. but there still isn't `Content-Length` for these errors: https://github.com/steveklabnik/simple-server/blob/10103f59775591a470dc4d0275cfe54e635e9a5c/src/lib.rs#L318-L321 https://github.com/steveklabnik/simple-server/blob/10103f59775591a470dc4d0275cfe54e635e9a5c/src/lib.rs#L341-L343 https://github.com/steveklabnik/simple-server/blob/10103f59775591a470dc4d0275cfe54e635e9a5c/src/lib.rs#L378-L380

Because of the way element variables work, I'm pretty sure t[a] t[b] = 3 4 is doing basically t t = (assoc $t a 3) (assoc $t b 4) and...

After import, the second color layer `Col.001` is the default attribute for rendering (render_color_index == 1). The importer just needs to make sure the first one is always the default....

16k textures cannot be converted to WebP. The maximum width and height allowed by WebP is 16383 pixels.