RESOLVED WORKSFORME 26209
REGRESSION: Redirect to custom protocol adds "localhost/" suffix
https://bugs.webkit.org/show_bug.cgi?id=26209
Summary REGRESSION: Redirect to custom protocol adds "localhost/" suffix
Jonas Walldén
Reported 2009-06-05 00:39:59 PDT
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@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@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
Attachments
Anne van Kesteren
Comment 1 2023-07-07 15:41:55 PDT
I tried to reproduce this in a recent version of Safari and was not able to using essentially the same response as comment 0 suggests.
Note You need to log in before you can comment on or make changes to this bug.