Closed
Bug 309672
Opened 19 years ago
Closed 9 years ago
Improve error handling when encountering invalid hostnames
Categories
(Core :: Networking, enhancement)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: darin.moz, Unassigned)
References
Details
(Keywords: helpwanted)
Attachments
(1 file)
27.29 KB,
patch
|
Details | Diff | Splinter Review |
Improve error handling when encountering invalid hostnames.
With the patch for bug 304904, hostnames containing invalid characters (such as
'%', '/', and '\\') are treated as unresolvable (NS_ERROR_UNKNOWN_HOST). It
would be better to report these hostnames as invalid instead of unknown. This
would allow us to do the following:
1) bypass URL fixup code (e.g., it makes no sense to try loading
www.www%2emozilla.org if www%2emozilla.org was rejected)
2) notify the user that invalid characters may be a sign of phishy activity
Reporter | ||
Comment 1•19 years ago
|
||
There's a patch in bug 304904 that implements a solution for this bug.
Keywords: helpwanted
Target Milestone: --- → mozilla1.9alpha
Comment 2•19 years ago
|
||
Comment 3•19 years ago
|
||
So is this still an issue? Bug 304904 implemented NS_ERROR_INVALID_HOST, right?
Reporter | ||
Comment 4•18 years ago
|
||
-> defaults
Assignee: darin.moz → nobody
QA Contact: benc → networking
Comment 5•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•