Removed HTTP_REFERER from manual_search endpoint as it's not required in AJAX request

pull/457/head
morpheus65535 6 years ago committed by GitHub
parent 9a9fdb0072
commit 9ef0ce689d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1820,7 +1820,6 @@ def get_subtitle():
@custom_auth_basic(check_credentials) @custom_auth_basic(check_credentials)
def manual_search_json(): def manual_search_json():
authorize() authorize()
ref = request.environ['HTTP_REFERER']
episodePath = request.forms.get('episodePath') episodePath = request.forms.get('episodePath')
sceneName = request.forms.get('sceneName') sceneName = request.forms.get('sceneName')

Loading…
Cancel
Save