diff --git a/examples/proxy.cgi b/examples/proxy.cgi index 8674230c1d..d5cce261d0 100755 --- a/examples/proxy.cgi +++ b/examples/proxy.cgi @@ -19,7 +19,6 @@ fs = cgi.FieldStorage() url = fs.getvalue('url', "http://openlayers.org") allowedHosts = ['www.openlayers.org', 'openlayers.org', 'octo.metacarta.com'] -allowedHosts = object() host = url.split("/")[2] try: