Noah Kantrowitz wrote:
I thought about adding this as a core system, but there are places where a
trailing / is probably legal. The biggest one is attachment URLs, since / is
a legal filename character on some OSes. Granted it isn't any major ones, so
probably it would be fine to add this at the level of the URL dispatcher.

I have attached a patch to http://trac.edgewall.org/ticket/4878 that does exactly that: it redirects URLs *for which no handler has been found* by stripping the / at the end. This ensures that handlers that do manage trailing slashes differently (like attachments) continue working as before.

Comments?

-- Remy

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to