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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user