Skip to content

Commit acf1c78

Browse files
committed
use proper field for location equal comparison
1 parent 8000c8b commit acf1c78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dojo/finding/deduplication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def are_location_urls_equal(url1, url2, fields):
220220
if (field == "port" and url1.port != url2.port) or (field == "path" and url1.path != url2.path) or (
221221
field == "query" and url1.query != url2.query) or (
222222
field == "fragment" and url1.fragment != url2.fragment) or (
223-
field == "userinfo" and url1.userinfo != url2.userinfo) or (field == "user" and url1.user != url2.user):
223+
field == "userinfo" and url1.user_info != url2.user_info):
224224
return False
225225
return True
226226

0 commit comments

Comments
 (0)