From 7d854a1ddeb2df63a677a9b51e7d607038cef003 Mon Sep 17 00:00:00 2001 From: hansbogert Date: Thu, 23 May 2013 00:32:27 +0300 Subject: [PATCH] filter spaces in the url It seems spaces are not urlencoded once it is proxied by cURL, this might not fix the underlying problem, but it worked well for me, without regressions. --- ba-simple-proxy.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ba-simple-proxy.php b/ba-simple-proxy.php index b1fa6e8..316fc70 100644 --- a/ba-simple-proxy.php +++ b/ba-simple-proxy.php @@ -143,6 +143,7 @@ // ############################################################################ $url = $_GET['url']; +$url = str_replace(" ","%20", $url); if ( !$url ) {