Closed
Bug 947183
Opened 11 years ago
Closed 10 years ago
URL-encoded sitename expanded incorrectly
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: john.foreign, Unassigned)
Details
(Whiteboard: [bugday-20131209])
Attachments
(1 file)
41.72 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 (Beta/Release) Build ID: 20131112160018 Steps to reproduce: a) Connect to http://localhos%74:8080/home b) Connect to http://lo%63alhost:8080/home Actual results: a) "Server not found: Firefox can't find the server at localhost74." b) "Server not found: Firefox can't find the server at localhostst." Expected results: These should both be equivalent to http://localhost:8080/home. The decoded name seems to be overwriting the corresponding characters in the buffer without altering the buffer length. Is Firefox written in C, perchance? :-)
Comment 1•11 years ago
|
||
firefox-25.0.en-US.linux64 2013-12-10-03-02-02-mozilla-central-firefox-29.0a1.en-US.linux-x86_64 Firefox can't find the server at www.localhos%74.com. Firefox can't find the server at www.lo%63alhost.com.
Component: Untriaged → Networking
Product: Firefox → Core
Whiteboard: [bugday-20131209]
Screenshot showing the bug on Firefox 28.0 (32-bit) running on Windows 7 (64-bit).
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
(In reply to Masatoshi Kimura [:emk] from comment #3) > *** This bug has been marked as a duplicate of bug 43659 *** Is it really a duplicate? 43659 was reported as fixed over a decade ago, and doesn't have the same symptoms at all. What I'm seeing is the decoded string overlays the original decoded string but without chaging the length, so in lo%63alhost (11 chars), the "%63" is replaced by "c", the rest of the string "alhost" is appended, which should give "localhost" (9 chars) but instead it gives "localhostst" (11 chars, just like the original). In 43659, "%69%6e%74%65%6c" (15 chars) apparently gets reduced to "inte%6c" (7 chars).
You need to log in
before you can comment on or make changes to this bug.
Description
•