Revision ed1999ad snf-astakos-app/astakos/im/target/redirect.py
b/snf-astakos-app/astakos/im/target/redirect.py | ||
---|---|---|
65 | 65 |
""" |
66 | 66 |
next = request.GET.get('next') |
67 | 67 |
if not next: |
68 |
return HttpResponseBadRequest(_(astakos_messages.MISSING_NEXT_PARAMETER)) |
|
68 |
next = reverse('astakos.im.views.home') |
|
69 |
|
|
69 | 70 |
if not restrict_next( |
70 | 71 |
next, domain=COOKIE_DOMAIN, allowed_schemes=('pithos',) |
71 | 72 |
): |
Also available in: Unified diff