[ic] URL encoding bug in Vend::Interpolate::esc
Rok Ruzic
rok.ruzic at informa.si
Sun May 16 15:30:31 UTC 2010
On Sun, 16 May 2010 16:34:29 +0200
"Stefan Hornburg (Racke)" <racke at linuxia.de> wrote:
>
> This reference is outdated. Please look at this:
>
> http://labs.apache.org/webarch/uri/rfc/rfc3986.html#unreserved
>
> Please adjust your patch accordingly.
The page you refer to lists this: http://www.ietf.org/rfc/rfc2234.txt
as its authority on definition of ALPHA and DIGIT. This link lists
alpha as:
== paste from http://www.ietf.org/rfc/rfc2234.txt ==
ALPHA = %x41-5A / %x61-7A ; A-Z / a-z
== end paste ==
Your link specifies this:
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
meaning that everything else must be encoded. As it is, we are leaving
wide characters matched by perl's \w unencoded.
LP,
Rox
More information about the interchange-users
mailing list