Ben Darnell

Results 362 comments of Ben Darnell

It was a duplicate of #2458. I'm keeping this open to remind me to come up with some sort of documented security process.

Hmm, that shouldn't be necessary (and changing this breaks the apple-touch-icon support which must be in exactly that root-level URL). How exactly was it failing? Are you sure you didn't...

That's a good point. The reason for the current behavior is that I've always looked at this from the opposite perspective: a few headers (notably Set-Cookie) erroneously contain embedded commas,...

Yeah, this isn't documented very well unless you read through the full `tornado.web` module docs to see what's there. It does deserve to be called out somewhere more prominent, such...

Which version of Tornado are you using? That snippet of code looks fine, but of course there's very little to it. The problem could be elsewhere. Are you trying to...

Thanks. This makes sense, but it looks like it's a little more complicated than that. There's some code further down in this file that need changing but I'm not sure...

Related feature request: it should be possible to specify a sequence of template search paths or loaders.

It should also be possible to use filenames relative to the template path in extends and includes directives, not just relative to the containing file.

@NucleaPeon It sounds like you're just using the default `template_path` (which defaults to the directory where your handlers live). You should be able to set `template_path` (as a keyword argument...