From aa600bf47753def91ee5dd2205adc965291351ec Mon Sep 17 00:00:00 2001 From: timcooper Date: Wed, 26 Oct 2011 12:09:48 +0200 Subject: [PATCH] Removed redundant decode, apparently I got over-excited. --- adaptive-images.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adaptive-images.php b/adaptive-images.php index ecef8cc..7fd7f8e 100644 --- a/adaptive-images.php +++ b/adaptive-images.php @@ -27,7 +27,7 @@ /* get all of the required data from the HTTP request */ $document_root = $_SERVER['DOCUMENT_ROOT']; $requested_uri = parse_url(urldecode($_SERVER['REQUEST_URI']), PHP_URL_PATH); -$requested_file = basename(urldecode($requested_uri)); +$requested_file = basename($requested_uri); $source_file = $document_root.$requested_uri; $resolution = FALSE;