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
This commit is contained in:
crschmidt
2006-05-27 10:23:59 +00:00
parent 43875e80af
commit 28471e2047

View File

@@ -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: