Closed Bug 340276 Opened 20 years ago Closed 20 years ago

URL with %-escaped hostname and path does not load.

Categories

(Core :: Networking, defect)

1.8 Branch
x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kk0et, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1a3) Gecko/20060526 BonEcho/2.0a3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1a3) Gecko/20060526 BonEcho/2.0a3 IE 6 was used to verify that this URL, while being atypical, is valid and translatable. This issue was used as part of our own, in house, smoke test of url capable devices because it forces extra steps and is so unusual while still being valid. The resulting page, jdandassociatesltd.com/default.aspx ,is microsoft hosted but fully FrontPage compliant. I entered this atypical url: http://%6A%64%61%6E%64%61%73%73%6F%63%69%61%74%65%73%6C%74%64%2E%63%6F%6D/%64%65%66%61%75%6C%74%2E%61%73%70%78 by using copy (from clipboard), into the address bar and hit return/enter key. Result was a search page. When attempted in Bon Echo, problem does NOT exist and that browser performs BETTER than IE 6. The resulting error (search page for verbatium address) is consistantly given in Netscape (most recent version). IE 6 handles displays page but address is shown as http://jdandassociatesltd.com/%64%65%66%61%75%6C%74%2E%61%73%70%78 Bon Echo handles fine and returns clear address in bar. Firefox 1.5.0.4 returns error SOMETIMES. SOMETIMES loads page. Reproducible: Sometimes Steps to Reproduce: 1. Enter "http://%6A%64%61%6E%64%61%73%73%6F%63%69%61%74%65%73%6C%74%64%2E%63%6F%6D/%64%65%66%61%75%6C%74%2E%61%73%70%78" into address bar (by copy - paste) 2. Hit enter key (or click go) 3. Hope it works, or see it load search page. Actual Results: Worked in Bon Echo, worked sometimes in firefox 1.5.0.4, worked with small problems in IE 6, did NOT work in netscape browser. Expected Results: loaded page with clear 'normal' address in address bar.
According to bug 304904, hostnames containing % are invalid and should not be loaded. So I wonder why they work in Bon Echo.
Component: Location Bar and Autocomplete → Networking
Product: Firefox → Core
QA Contact: location.bar → networking
Summary: Valid yet atypical URL does not load page. → URL with %-escaped hostname and path does not load.
Version: unspecified → 1.8 Branch
(In reply to comment #1) > According to bug 304904, hostnames containing % are invalid and should not be > loaded. So I wonder why they work in Bon Echo. > I am not sure why they work in Bon Echo but, since some other testers using a variety of set ups (OS, nightly builds, and hardware, ISPs, etc.) I will change this is FIXED... If the problem becomes un-fix-ed, then we can look at it again under the light of what is different and fix it... Bon Echo does not produce the odd result that netscape and the firefox build did.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
(In reply to comment #0) > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1a3) > Gecko/20060526 BonEcho/2.0a3 > Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1a3) > Gecko/20060526 BonEcho/2.0a3 > > IE 6 was used to verify that this URL, while being atypical, is valid and > translatable. > > This issue was used as part of our own, in house, smoke test of url capable > devices because it forces extra steps and is so unusual while still being > valid. > > The resulting page, jdandassociatesltd.com/default.aspx ,is microsoft hosted > but fully FrontPage compliant. > > I entered this atypical url: > > http://%6A%64%61%6E%64%61%73%73%6F%63%69%61%74%65%73%6C%74%64%2E%63%6F%6D/%64%65%66%61%75%6C%74%2E%61%73%70%78 > > by using copy (from clipboard), > > into the address bar and hit return/enter key. > > Result was a search page. > > When attempted in Bon Echo, problem does NOT exist and that browser performs > BETTER than IE 6. > > The resulting error (search page for verbatium address) is consistantly given > in Netscape (most recent version). > > IE 6 handles displays page but address is shown as > http://jdandassociatesltd.com/%64%65%66%61%75%6C%74%2E%61%73%70%78 > > Bon Echo handles fine and returns clear address in bar. > > Firefox 1.5.0.4 returns error SOMETIMES. SOMETIMES loads page. > > Reproducible: Sometimes > > Steps to Reproduce: > 1. Enter > "http://%6A%64%61%6E%64%61%73%73%6F%63%69%61%74%65%73%6C%74%64%2E%63%6F%6D/%64%65%66%61%75%6C%74%2E%61%73%70%78" > into address bar (by copy - paste) > 2. Hit enter key (or click go) > 3. Hope it works, or see it load search page. > > Actual Results: > Worked in Bon Echo, worked sometimes in firefox 1.5.0.4, worked with small > problems in IE 6, did NOT work in netscape browser. > > Expected Results: > loaded page with clear 'normal' address in address bar. > REVISED: Result in minefield (nightly build as of june 3rd, early am download): Server not found Firefox can't find the server at www.%6a%64%61%6e%64%61%73%73%6f%63%69%61%74%65%73%6c%74%64%2e%63%6f%6d.com. * Check the address for typing errors such as ww.example.com instead of www.example.com * If you are unable to load any pages, check your computer's network connection. ... ... ...
Status: RESOLVED → VERIFIED
No specific bug / patch referenced as the fix. -> WORKSFORME
Status: VERIFIED → UNCONFIRMED
Resolution: FIXED → ---
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.