Bug 20529 - Safari displays a misleading error message when the server redirects to an unknown server
Summary: Safari displays a misleading error message when the server redirects to an un...
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: Macintosh OS X 10.5
: P3 Minor
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-08-26 12:43 PDT by Christian Mittendorf
Modified: 2008-11-01 19:03 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Mittendorf 2008-08-26 12:43:29 PDT
If a server responds with a redirect header where the server it is redirecting to is a server that is not available, Safari displays a misleading error message.

The following header issued by a page at http://localhost/redirect.php

> HTTP/1.1 301 Moved Permanently
> Location: http://klajdfkajsdfkjas.com

will result in this Safari error message:

> Safari can’t find the server.
> Safari can’t open the page “http://localhost/redirect.php” because it can’t find the server “localhost”.

But the server "localhost" is not the source of this problem, it's the server that the browser was requested to redirect to. Thus the error message should mention the adress that it is asked to redirect to. It would also be helpful if the kind of server response (301, redirect, etc.) would be shown on the error page. However, the exact wording is problematic in this case as not many users really understand the techniques of what is happening here.

Christian
Comment 1 Mark Rowe (bdash) 2008-08-26 13:38:58 PDT
<rdar://problem/6177099>