X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FHTTP%2FRequest%2FAsCGI.pm;h=ff9849a400bcd42ca213584ebe77ffd93a6d7a39;hb=69cc0989cc485086308a6da8653acd948919ebb0;hp=bd8e387e9f2e60c3d5d039867e7ea068c2b53b67;hpb=91c0617f230df2fc0068ed0fbae9517794a44959;p=catagits%2FHTTP-Request-AsCGI.git diff --git a/lib/HTTP/Request/AsCGI.pm b/lib/HTTP/Request/AsCGI.pm index bd8e387..ff9849a 100644 --- a/lib/HTTP/Request/AsCGI.pm +++ b/lib/HTTP/Request/AsCGI.pm @@ -50,7 +50,8 @@ sub new { GATEWAY_INTERFACE => 'CGI/1.1', HTTP_HOST => $uri->host_port, HTTPS => ( $uri->scheme eq 'https' ) ? 'ON' : 'OFF', # not in RFC 3875 - PATH_INFO => URI::Escape::uri_unescape($uri->path), +# PATH_INFO => URI::Escape::uri_unescape($uri->path), + PATH_INFO => $uri->path, QUERY_STRING => $uri->query || '', SCRIPT_NAME => '/', SERVER_NAME => $uri->host,