Closed Bug 300577 Opened 19 years ago Closed 18 years ago

# character is causing a truncation of all characters after it in error message

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: desaiullas, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; FunWebProducts)
Build Identifier: Mozilla/5.0

when the user enters the following address in address field of the 
firefox "www.yahoo.###" all the characters after # gets truncated in the error 
message that will be thrown to the user.

This bug can be considered as error handling as well as  relaibilty bug.

Reproducible: Always

Steps to Reproduce:
1.Open the firefox browser.
2.Enter following web address in the address field "www.yahoo.###"
3.Press Go
4.Error message with # truncating all the characters after it in the error 
message.

Actual Results:  
following error message will thrown to the user.

"www.yahoo. couldnot be found. Please check name and try again"
here # is trucating all character after it.

Expected Results:  
following error message should appear.

"www.yahoo.### could not be found.please check name and try again"

OS : Windows 2000
firefox version :1.0.4


some other examples where this bug can be found.
www.#yahoo.com
www.yahoo.#**&^&^&^
The attachment shows you the snapshot of error message that will appear when
user enters the following web address "www.yahoo.###"
*** Bug 300576 has been marked as a duplicate of this bug. ***
isn't that the same as bug 300571 ? (can't compare, your screenshots won't load)
*** Bug 300571 has been marked as a duplicate of this bug. ***
Summary: # character is causing a truncation of all chararcters after it in error message. → # character is causing a truncation of all characters after it in error message
This is exactly what we should be doing. '#' indicates an anchor following it.
http://www.yahoo.### would indicate that Firefox should look for a server at 'www.yahoo.' and that once it's found find an anchor with a name of '##'.
Since 'yahoo' is not a TLD, it does not resolve and Firefox throws an appropriate error: "Server not found - Firefox can't find the server at www.yahoo."
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: