RESOLVED INVALID 14674
Safari or webkit issue - http getting chopped, when chat is hostname
https://bugs.webkit.org/show_bug.cgi?id=14674
Summary Safari or webkit issue - http getting chopped, when chat is hostname
Andre-John Mas
Reported 2007-07-19 10:53:55 PDT
I have a server in my domain called 'chat' and have a Tomcat server running there on port 8081. On that Tomcat server I have web application the provides an RSS feed. The URL I normally use is: http://char:8081/ds/rss-feeds.do This page is a form allowing me to select the feeds I want from the server. This works correctly. Now when I tell the server that parameters for the RSS I start getting issues. The RSS query is: http://chat:8081/ds/rss.do?report=visits What happens is that I get told: The page you opened redirected you to a page that isn’t supported by Safari. Safari can’t open the page “chat:8081/ds/rss.do?report=visits” because it cannot redirect to locations starting with “chat:”. This is strange since this page works correctly in Firefox (Mac, Linux, Windows), IE6 and Opera. Using wget also shows no redirection happening. I am suspecting that this is something is Safari/Webkit going funny. A few things I have tried: 1 - changing application/rss+xml -> application/xml -- same behaviour 2 - changing application/rss+xml -> text/plain -- same behaviour 3 - changing <rss version="2.0"> to <xxx version="2.0"> -- same behaviour 4 - doing both 3 and 4 -- URL doesn't get mangled 5 - changing host name to 192.168.2.101 or fully qualified chat.mydomain.com -- URL doesn't get mangled This affects Safari 3 and the latest WebKit build (2007-07-18) on the Mac. It also seems focused on RSS being the document type.
Attachments
Tomcat web app that reproduces the issue (1.19 KB, application/octet-stream)
2007-07-19 14:42 PDT, Andre-John Mas
no flags
Alexey Proskuryakov
Comment 1 2007-07-19 12:03:34 PDT
RSS-related issues tend to be in closed source code, adding NeedsRadar.
Andre-John Mas
Comment 2 2007-07-19 14:42:09 PDT
Created attachment 15588 [details] Tomcat web app that reproduces the issue
Andre-John Mas
Comment 3 2007-07-19 14:46:53 PDT
radar: 5348166
David Kilzer (:ddkilzer)
Comment 4 2007-07-19 14:51:57 PDT
(In reply to comment #0) > http://char:8081/ds/rss-feeds.do > http://chat:8081/ds/rss.do?report=visits Is it "char" or "chat"? I assume the first one is a typo?
Andre-John Mas
Comment 5 2007-07-19 15:15:00 PDT
Oops, both meant to be 'chat'.
Anne van Kesteren
Comment 6 2023-05-28 06:50:55 PDT
The URL parser has changed quite a bit since 2007.
Note You need to log in before you can comment on or make changes to this bug.