mirror of
https://github.com/searx/searx
synced 2024-12-12 00:45:18 +01:00
[fix] don't merge results with distinct fragments
This commit is contained in:
parent
104cdb7d03
commit
413e143707
@ -28,7 +28,7 @@ def compare_urls(url_a, url_b):
|
|||||||
else:
|
else:
|
||||||
host_b = url_b.netloc
|
host_b = url_b.netloc
|
||||||
|
|
||||||
if host_a != host_b or url_a.query != url_b.query:
|
if host_a != host_b or url_a.query != url_b.query or url_a.fragment != url_b.fragment:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# remove / from the end of the url if required
|
# remove / from the end of the url if required
|
||||||
|
Loading…
Reference in New Issue
Block a user