Closed Bug 253086 Opened 20 years ago Closed 20 years ago

ViewSource fails to do punycode conversion when getting the page source

Categories

(Core Graveyard :: View Source, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 201040

People

(Reporter: jdamery, Assigned: doronr)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

ViewSource fails to do punycode conversion when getting the page source, so
tries to get http://%e2%98%a3.earth.li/ rather than http://xn--k4h.earth.li/
(which is the correct punycode translation for the URL).

Reproducible: Always
Steps to Reproduce:
1. Visit http://☣.earth.li/
2. View Source
3. See error

Actual Results:  
I viewed the source of this squid proxy error page (rather than that of the
biohazard page):

<HTML><HEAD>
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR>
<P>
While trying to retrieve the URL:
<A HREF="http://%e2%98%a3.earth.li/">http://%e2%98%a3.earth.li/</A>
<P>
The following error was encountered:
<UL>
<LI>

<STRONG>
Invalid URL
</STRONG>
</UL>

<P>
Some aspect of the requested URL is incorrect.  Possible problems:
<UL>
<LI>Missing or incorrect access protocol (should be `http://'' or similar)
<LI>Missing hostname
<LI>Illegal double-escape in the URL-Path
<LI>Illegal character in hostname; underscores are not allowed
</UL>
<P>Your cache administrator is <A HREF="mailto:webmaster">webmaster</A>. 

<br clear="all">

<hr noshade size=1>
Generated Mon, 26 Jul 2004 13:12:14 GMT by helvellyn.ad.lgc.com (Squid/2.4.STABLE7)
</BODY></HTML>

Expected Results:  
Viewed the source of the biohazard page.
Dupe of Bug 201040. It is fixed for 1.8a builds and will be fixed in 1.7.2.
indeed.

*** This bug has been marked as a duplicate of 201040 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
Product: SeaMonkey → Core Graveyard
You need to log in before you can comment on or make changes to this bug.