From 9ef0ce689d058c572875746c89d50fd178260d2d Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Fri, 31 May 2019 08:45:51 -0400 Subject: [PATCH] Removed HTTP_REFERER from manual_search endpoint as it's not required in AJAX request --- bazarr/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bazarr/main.py b/bazarr/main.py index 668395362..efcf1a20c 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -1820,8 +1820,7 @@ def get_subtitle(): @custom_auth_basic(check_credentials) def manual_search_json(): authorize() - ref = request.environ['HTTP_REFERER'] - + episodePath = request.forms.get('episodePath') sceneName = request.forms.get('sceneName') language = request.forms.get('language')