author | Lennard de Rijk <ljvderijk@gmail.com> |
Tue, 17 Feb 2009 19:40:13 +0000 | |
changeset 1381 | 2cfce3831fc6 |
parent 1380 | e4235440897c |
child 1382 | 293a14668dc9 |
--- a/app/soc/views/helper/requests.py Tue Feb 17 19:37:47 2009 +0000 +++ b/app/soc/views/helper/requests.py Tue Feb 17 19:40:13 2009 +0000 @@ -119,7 +119,7 @@ # no HTTP referrer, so cannot possibly start with expected prefix return False - http_host = 'http://%s/%s' %(os.environ['HTTP_HOST'],url_name) + http_host = 'http://%s/%s' %(os.environ['HTTP_HOST'], url_name) if http_from.startswith(http_host): return True