Browse Source

update server for urldecode.

Taylor Otwell 12 years ago
parent
commit
b53e6cd02e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      server.php

+ 2 - 0
server.php

@@ -2,6 +2,8 @@
 
 $uri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
 
+$uri = urldecode($uri);
+
 $requested = __DIR__.'/public'.$uri;
 
 // This file allows us to emulate Apache's "mod_rewrite" functionality from the