[Rt-commit] r5673 - HTTP-Server-Simple/lib/HTTP/Server
    audreyt at bestpractical.com 
    audreyt at bestpractical.com
       
    Sat Jul 29 00:37:20 EDT 2006
    
    
  
Author: audreyt
Date: Sat Jul 29 00:37:19 2006
New Revision: 5673
Modified:
   HTTP-Server-Simple/lib/HTTP/Server/Simple.pm
Log:
* HTTP::Server::Simple: Unescape URIs before turning it over to CGI.
Modified: HTTP-Server-Simple/lib/HTTP/Server/Simple.pm
==============================================================================
--- HTTP-Server-Simple/lib/HTTP/Server/Simple.pm	(original)
+++ HTTP-Server-Simple/lib/HTTP/Server/Simple.pm	Sat Jul 29 00:37:19 2006
@@ -4,6 +4,7 @@
 use warnings;
 use Socket;
 use Carp;
+use URI::Escape;
 
 our $VERSION = '0.20';
 
@@ -523,7 +524,7 @@
     my $uri      = $2 || '';
     my $protocol = $3 || '';
 
-    return ( $method, $uri, $protocol );
+    return ( $method, uri_unescape( $uri ), $protocol );
 }
 
 =head2 parse_headers
    
    
More information about the Rt-commit
mailing list