[Webkit-unassigned] [Bug 26209] New: REGRESSION: Redirect to custom protocol adds "localhost/" suffix

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 5 00:39:59 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26209

           Summary: REGRESSION: Redirect to custom protocol adds
                    "localhost/" suffix
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jonasw at roxen.com


Starting with OS X 10.5.7 server redirects to custom URL protocols is broken.
(C.f. bug 15774 for a possibly related problem that has since been fixed.)

I've configured my server to respond with the following reply:

  HTTP/1.1 302 Found
  Location: mailto:foo at bar.com?subject=foo

which normally will bring up a mail with a subject of "foo". However, in
current nightlies (tested with r44438) and Safari (5525.28.3 shipped with OS X
10.5.7) the mail subject is "foolocalhost/".

Please note that this concerns not only mailto: but custom URL protocols.

Capture from tcpdump:

GET /safari-redir/index.html HTTP/1.1
Host: localhost:6060
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_7; en-us)
AppleWebKit/531.0+ (KHTML, like Gecko) Version/3.2.3 Safari/525.28.3
Accept:
application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: keep-alive

-------

HTTP/1.1 302 Found
Location: mailto:foo at bar.com?subject=foo
Vary: *
Server: Roxen/5.0.381-cvs
Accept-Ranges: bytes
Last-Modified: Fri, 05 Jun 2009 07:22:45 GMT
Content-Length: 5
Content-Type: text/html; charset=ISO-8859-1
Expires: Thu, 05 Jun 2008 01:22:45 GMT
Date: Fri, 05 Jun 2009 07:22:45 GMT
Connection: keep-alive


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list