miyagawa/Plack — pull request #292 by ssmccoy (2012-05-20 00:25:57+00:00)
Title: Path escaping regex supports RFC 1738 definition.

* Updated the class of characters-to-not-escape passed to URI::Escape to
support the proper definition as stipulated by RFC 1738 for URL Paths,
namely::

safe = "$" | "-" | "_" | "." | "+"
extra = "!" | "*" | "'" | "(" | ")" | ","

unreserved = alpha | digit | safe | extra
escape = "%" hex hex

uchar = unreserved | escape

hpath = hsegment *[ "/" hsegment ]
hsegment = *[ uchar | ";" | ":" | "@" | "&" | "=" ]

* Added unit test which verifies behavior by attempting to use path
parameters.