diff --git a/pandora/app/views.py b/pandora/app/views.py index b6337b4b5..411fb8138 100644 --- a/pandora/app/views.py +++ b/pandora/app/views.py @@ -53,7 +53,10 @@ def embed(request, id): }) def redirect_url(request, url): - url = base64.decodebytes(url.encode()).decode() + try: + url = base64.decodebytes(url.encode()).decode() + except: + pass if settings.CONFIG['site'].get('sendReferrer', False): return redirect(url) else: