Migration cleanup and tests for rejecting non-ipv4 hostnames ending in numbers
Categories
(Core :: Networking, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox120 | --- | fixed |
People
(Reporter: edgul, Assigned: edgul)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file, 1 obsolete file)
As per Bug 1723456, we changed the validity of non-ipv4 URLs that have hostnames ending in numbers.
As a followup, which ideally lands along side the above bug, we want to also implement DB cleanup/migration that filters out newly invalid URLs from an old DB. We should also add some tests that verify the migration is working.
We will need migrations and testing for (at least) cookie and permission URLs for which the nsICookieManager and https://searchfox.org/mozilla-central/source/extensions/permissions/test/unit/test_permmanager_migrate_11-12.js may be useful.
Other components, in particular indexeddb, may also require this. I will add this once we know.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 4•2 years ago
|
||
| bugherder | ||
Noting that the permissions migration was left out for now, happy to revisit if we can get further clarity on how to proceed.
Description
•