ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/apache2-frontend/proxy_impl.pm
(Generate patch)

Comparing apache2-frontend/proxy_impl.pm (file contents):
Revision 1.7 by root, Thu Aug 1 17:15:02 2019 UTC vs.
Revision 1.8 by root, Tue Nov 12 16:20:31 2019 UTC

57 57
58# escapes everything not allowed in a url hpath 58# escapes everything not allowed in a url hpath
59sub pesc($) { 59sub pesc($) {
60 local $_ = shift; 60 local $_ = shift;
61 61
62 s/([^a-zA-z0-9\$\-_.+!*'(),;?&=\/])/sprintf "%02x", ord $1/ge; 62 s/([^a-zA-z0-9\$\-_.+!*'(),;?&=\/])/sprintf "%%%02x", ord $1/ge;
63 63
64 $_ 64 $_
65} 65}
66 66
67sub err($) { 67sub err($) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines