<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>20529</bug_id>
          
          <creation_ts>2008-08-26 12:43:29 -0700</creation_ts>
          <short_desc>Safari displays a misleading error message when the server redirects to an unknown server</short_desc>
          <delta_ts>2008-11-01 19:03:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>525.x (Safari 3.1)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P3</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Christian Mittendorf">christian.mittendorf</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>grahamperrin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>89407</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Mittendorf">christian.mittendorf</who>
    <bug_when>2008-08-26 12:43:29 -0700</bug_when>
    <thetext>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

&gt; HTTP/1.1 301 Moved Permanently
&gt; Location: http://klajdfkajsdfkjas.com

will result in this Safari error message:

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

But the server &quot;localhost&quot; is not the source of this problem, it&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89411</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-08-26 13:38:58 -0700</bug_when>
    <thetext>&lt;rdar://problem/6177099&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>