aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Root.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-02-14 12:55:15 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-02-14 12:55:15 +0000
commita5373a4ce9e966f70cd5edf0334c27781d7a2f04 (patch)
tree9bf59ec3fd7b9de0194dc8e997e57e18f787629c /perllib/FixMyStreet/App/Controller/Root.pm
parent2530538ca6e36b659a63cc3b67099972fe0116af (diff)
parentf0edab7ee84e4358c279a5a8ec37dbb0ae8f1b3d (diff)
Merge branch 'pwa'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Root.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Root.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Root.pm b/perllib/FixMyStreet/App/Controller/Root.pm
index fb6d063be..caaa260ff 100644
--- a/perllib/FixMyStreet/App/Controller/Root.pm
+++ b/perllib/FixMyStreet/App/Controller/Root.pm
@@ -159,11 +159,6 @@ sub check_login_required : Private {
}x;
return if $c->request->path =~ $whitelist;
- # Blacklisted URLs immediately 404
- # This is primarily to work around a Safari bug where the appcache
- # URL is requested in an infinite loop if it returns a 302 redirect.
- $c->detach('/page_error_404_not_found', []) if $c->request->path =~ /^offline/;
-
$c->detach( '/auth/redirect' );
}