Skip to content

Commit

Permalink
update server for urldecode.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 11, 2013
1 parent 5d99f9f commit b53e6cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b53e6cd

Please sign in to comment.