diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-03-25 20:21:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-25 20:21:56 +0100 |
commit | 8f722a2219f7a3cc74aa79ac29832d223fd20cad (patch) | |
tree | b50c3f313605ea140d5bd2b862c5ab897ddcc0ac /app/src/main/ic_launcher-web.png | |
parent | fde16c60f4ce5d57a0c7d5a0186dcd532a23f0f0 (diff) |
Fix: Properly handle IP addresses and invalid domains in Autofill (#664)
Mozilla's getPublicSuffixPlusOne is only meant to be invoked on syntactically
valid domain names. In particular, it does not give reasonable results for IP
addresses.
This commit ensures that the domain passed to getPublicSuffixPlusOne is
syntactically valid and not an IP address (the latter is unfortunately
considered a domain by the Android validation patterns).
Diffstat (limited to 'app/src/main/ic_launcher-web.png')
0 files changed, 0 insertions, 0 deletions