Open Bug 1844815 Opened 11 months ago Updated 10 months ago

Migration cleanup and tests for rejecting non-ipv4 hostnames ending in numbers

Categories

(Core :: Networking, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: edgul, Assigned: edgul)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(2 files)

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.

Blocks: url
Severity: -- → N/A
Component: Networking: Cookies → Networking
Priority: -- → P2
Whiteboard: [necko-triaged]
Assignee: nobody → edgul
Attachment #9345671 - Attachment description: WIP: Bug 1844815 - Added cookie db cleanup for old non-ipv4 urls with hostnames ending in a number → Bug 1844815 - Added cookie db cleanup for old non-ipv4 urls with hostnames ending in a number. r=valentin,pbz
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: