From d1460168608bbdc2e8d31459b0ab225a1e8cef70 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Fri, 26 Feb 2021 11:42:42 -0500 Subject: [PATCH] Remove auth req for accessing opensearch Requiring authentication for accessing the opensearch template prevents the browser from accessing the file when adding as a default search engine. This removes the authentication requirement from the opensearch route, which should never provide any sensitive information anyways. --- app/routes.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index b175d77..f822b5e 100644 --- a/app/routes.py +++ b/app/routes.py @@ -136,7 +136,6 @@ def index(): @app.route('/opensearch.xml', methods=['GET']) -@auth_required def opensearch(): opensearch_url = g.app_location if opensearch_url.endswith('/'):