[PATCH 2 of 5] Core: escape "<", ">", and """ in urls
Maxim Dounin
mdounin at mdounin.ru
Sun Apr 18 22:13:41 MSD 2010
Hello!
On Fri, Jan 15, 2010 at 11:49:29AM -0000, Maxim Dounin wrote:
> # HG changeset patch
> # User Maxim Dounin <mdounin at mdounin.ru>
> # Date 1263229555 -10800
> # Node ID 186e9471419a07250d144e390b43cd1cf7dcd561
> # Parent 9180ed53bc04c852d88069c1a919799f92d7755d
> Core: escape "<", ">", and """ in urls.
>
> RFC 2396 requires it, and not escaping them seems to cause problems at
> least with MS Exchange.
>
> Note well: RFC 3986 obsoletes RFC 2396 and no longer requires characters in
> question to be escaped. But for compatibility reasons it's probably a good
> idea to escape them anyway.
Just a quick note: I was wrong here. While RFC 3986 doesn't
contain rationale for exclusion of these chars it still doesn't
allow them per ABNF. I'm going to resubmit updated patch anyway.
Maxim Dounin
More information about the nginx-devel
mailing list