fix(android): make DEX descriptor pattern portable

This commit is contained in:
morluto
2026-10-14 01:23:25 +08:00
committed by Kaoru0822
parent af2f55cda9
commit ad16d250e3
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ def without_userinfo(value, base_scheme=None):
while end < len(parsed_text) and parsed_text[end] not in terminators:
end += 1
at = parsed_text.rfind("@", start, end)
if at < 0:
if at <= start:
return value
parsed_offset = 0
raw_start = 0