Plus ("+" vs. "%2B") encoded search strings for opds search feeds are now working in request string (fix for #2175)
This commit is contained in:
@@ -85,7 +85,7 @@ def feed_osd():
|
||||
@requires_basic_auth_if_no_ano
|
||||
def feed_cc_search(query):
|
||||
# Handle strange query from Libera Reader with + instead of spaces
|
||||
plus_query = unquote_plus(request.base_url.split('/opds/search/')[1]).strip()
|
||||
plus_query = unquote_plus(request.environ['RAW_URI'].split('/opds/search/')[1]).strip()
|
||||
return feed_search(plus_query)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user