<?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>47886</bug_id>
          
          <creation_ts>2010-10-18 23:37:13 -0700</creation_ts>
          <short_desc>When basic authentication is cancelled no rendering happens</short_desc>
          <delta_ts>2010-10-19 23:32:38 -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>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Rüdiger Cordes">rc</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>rc</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>296027</commentid>
    <comment_count>0</comment_count>
    <who name="Rüdiger Cordes">rc</who>
    <bug_when>2010-10-18 23:37:13 -0700</bug_when>
    <thetext>This little php script echos a bit HTML if authentication is cancelled but
nothing of it appears in the Safari window whereas Firefox 3.6 works well.

&lt;?php
if(!isset($_SERVER[&apos;PHP_AUTH_USER&apos;]))
 {
  header(&apos;WWW-Authenticate: Basic realm=&quot;My realm&quot;&apos;);
  header(&apos;HTTP/1.0 401 Unauthorized&apos;);
  echo &apos;&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;Titel&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;Authentication cancelled!&lt;/BODY&gt;&lt;/HTML&gt;&apos;;
  exit;
 }
?&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296028</commentid>
    <comment_count>1</comment_count>
    <who name="Rüdiger Cordes">rc</who>
    <bug_when>2010-10-18 23:44:09 -0700</bug_when>
    <thetext>-</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296247</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-10-19 10:05:08 -0700</bug_when>
    <thetext>This has been fixed already, please try with a nightly build from &lt;http://nightly.webkit.org&gt;.

*** This bug has been marked as a duplicate of bug 6871 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296624</commentid>
    <comment_count>3</comment_count>
    <who name="Rüdiger Cordes">rc</who>
    <bug_when>2010-10-19 21:03:22 -0700</bug_when>
    <thetext>I used the latest available nightly r63355 for testing under Mac OS X 10.4.11 and still have this problem. Safari 4.1.2 has the problem too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296636</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-10-19 22:00:23 -0700</bug_when>
    <thetext>Ah right, this can&apos;t be fixed on Tiger indeed due to limitations in lower level closed source networking code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296653</commentid>
    <comment_count>5</comment_count>
    <who name="Rüdiger Cordes">rc</who>
    <bug_when>2010-10-19 23:32:38 -0700</bug_when>
    <thetext>Even under 10.5 and Safari 5.0.2 it doesnt work, but with nightly ~70.000 it does ;-)

Thanks Alexej, Rüdiger</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>