From 28471e204796376430904d8621bdd6842ca16d93 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sat, 27 May 2006 10:23:59 +0000 Subject: [PATCH] r397@creusa: crschmidt | 2006-05-27 06:28:36 -0400 Change proxy to have comment re: allowedHosts git-svn-id: http://svn.openlayers.org/trunk/openlayers@419 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/proxy.cgi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/proxy.cgi b/examples/proxy.cgi index 45f2e9f5d7..a77df0aec9 100755 --- a/examples/proxy.cgi +++ b/examples/proxy.cgi @@ -18,6 +18,8 @@ import cgi fs = cgi.FieldStorage() url = fs.getvalue('url', "http://openlayers.org") +# Designed to prevent Open Proxy type stuff. + allowedHosts = ['www.openlayers.org', 'openlayers.org', 'octo.metacarta.com'] try: