Commit 3a394356 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

astakos: Proper BASE_URL setting name

parent 7ccfdfb2
......@@ -303,7 +303,7 @@ def redirect_back(request, default='index'):
referer = request.META.get('HTTP_REFERER')
safedomain = settings.BASEURL.replace("https://", "").replace(
safedomain = settings.BASE_URL.replace("https://", "").replace(
"http://", "")
safe = restrict_next(referer, safedomain)
# avoid redirect loop
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment