Open
Bug 448063
Opened 16 years ago
Updated 2 years ago
Create new "invalid hostname" error page
Categories
(Core :: Networking, defect, P5)
Core
Networking
Tracking
()
NEW
People
(Reporter: benc, Unassigned)
Details
(Whiteboard: [necko-would-take])
from bug 355181:
Comment #23 benc@meer.net 2008-07-24 12:43:48 PDT
My code-reading skills are modest, so I'll ask rather than risk an invalid bug.
I was playing with some ad hoc testing of this function and I found that
something like: www.host\.com fails with "hostname not found" error page.
I *think* it's because this function is used like this:
http://mxr.mozilla.org/seamonkey/source/netwerk/dns/src/nsHostResolver.cpp
417 // ensure that we are working with a valid hostname before proceeding.
see
418 // bug 304904 for details.
419 if (!net_IsValidHostName(nsDependentCString(host)))
420 return NS_ERROR_UNKNOWN_HOST;
Should we have a different error conditions for illegal/invalid hostnames?
Comment #24 [reply] Jesse Ruderman 2008-07-24 13:31:49 PDT
benc, I think you're right. The "Try Again" button isn't very useful in that
situation either. Can you file a new bug?
Comment 1•14 years ago
|
||
I think benc is right too. Its a shame that this problem is still there.
Updated•9 years ago
|
Whiteboard: [necko-would-take]
Comment 2•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•