Closed
Bug 276474
Opened 20 years ago
Closed 8 years ago
Sorting function that handles IP addresses + domain names
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
DUPLICATE
of bug 282220
People
(Reporter: benc, Unassigned)
References
(Blocks 3 open bugs)
Details
Attachments
(1 file)
6.53 KB,
text/html
|
Details |
Many components sort by domain, but they treat the hostname/IP as a string. What is needed, is a sort function that treats domains as hierarchically sorted, and IP addresses as numerically sorted. A centralized function that supported a couple flags would probably better than putting duplicate code in each module.
Updated•18 years ago
|
Assignee: darin → nobody
QA Contact: benc → networking
Comment 1•17 years ago
|
||
A preliminary attempt at solving the problem. Only affects IPv4 addresses. IPv6 address will pass through untouched and sorted alphanumerically.
H Martins wrote equivalent code that it attached to bug 282220.
Comment 3•15 years ago
|
||
I submitted an attachment to bug 282220 almost two years ago that I think solves this for IPv4. It was rejected because it had no comments, when the original file had not a single comment line before. I then submitted almost the same version for review, but fully commented, and haven't heard anything since. Every time I get updated I have to manually patch browser.jar, which is kind of a a pain. And I don't really understand the meaning of this bug depending on 282220. I also have an IPv6 version almost ready ....
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•