diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2025-10-20 11:20:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-20 11:20:33 +0200 |
| commit | 33e798b01b3d8b45aeae31c085a072260ad351df (patch) | |
| tree | a2483fe0d21d55932476827108d1a00615bb42e2 /docs | |
| parent | d84ae96cf97cd1b9d798ec5206dce846d8519c03 (diff) | |
[fix] TrackerPatternsDB.clean_url: don't delete query argument from new_url (#5339)
The query argument for URLs like:
- 'http://example.org?q=' --> query_str is 'q='
- 'http://example.org?/foo/bar' --> query_str is 'foo/bar'
is a *simple string* and not a key/value dict. This string may only be removed
from the URL if one of the patterns matches.
BTW get_pretty_url(): keep such a *simple string* in the path element.
Closes: https://github.com/searxng/searxng/issues/5299
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions