Permalink
Browse files

Noted that choice of escape characters in Escape.pm may be more based on

RFC 2396 than on the more current RFC 3986.  In either it is currently
compatible with p5 URI::Escape.
  • Loading branch information...
1 parent 5807b7e commit ed1147287e8460374ac05b4df1f1057f7a7c7ff9 U-ron-PC\ron committed May 14, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/URI/Escape.pm
View
2 lib/URI/Escape.pm
@@ -10,6 +10,8 @@ package URI::Escape {
%escapes{ chr($c) } = sprintf "%%%02X", $c
}
+ # in moving from RFC 2396 to RFC 3986 this selection of characters
+ # may be due for an update ...
token artifact_unreserved {<[!*'()] +IETF::RFC_Grammar::URI::unreserved>};
sub uri_escape($s is copy) is export {

0 comments on commit ed11472

Please sign in to comment.