Bug 14674 - Safari or webkit issue - http getting chopped, when chat is hostname
Summary: Safari or webkit issue - http getting chopped, when chat is hostname
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-07-19 10:53 PDT by Andre-John Mas
Modified: 2023-05-28 06:50 PDT (History)
1 user (show)

See Also:


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 Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre-John Mas 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.
Comment 1 Alexey Proskuryakov 2007-07-19 12:03:34 PDT
RSS-related issues tend to be in closed source code, adding NeedsRadar.
Comment 2 Andre-John Mas 2007-07-19 14:42:09 PDT
Created attachment 15588 [details]
Tomcat web app that reproduces the issue
Comment 3 Andre-John Mas 2007-07-19 14:46:53 PDT
radar: 5348166
Comment 4 David Kilzer (:ddkilzer) 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?

Comment 5 Andre-John Mas 2007-07-19 15:15:00 PDT
Oops, both meant to be 'chat'.
Comment 6 Anne van Kesteren 2023-05-28 06:50:55 PDT
The URL parser has changed quite a bit since 2007.