[philomena] fix search parameter escaping (#2215)
The pluses from search terms in /tags/ URLs need to be replaced with spaces to get accepted by Philomena.
This commit is contained in:
@@ -172,7 +172,7 @@ class PhilomenaSearchExtractor(PhilomenaExtractor):
|
||||
PhilomenaExtractor.__init__(self, match)
|
||||
groups = match.groups()
|
||||
if groups[-1]:
|
||||
q = groups[-1]
|
||||
q = groups[-1].replace("+", " ")
|
||||
for old, new in (
|
||||
("-colon-" , ":"),
|
||||
("-dash-" , "-"),
|
||||
|
||||
Reference in New Issue
Block a user