<?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>6621</bug_id>
          
          <creation_ts>2006-01-17 14:57:48 -0800</creation_ts>
          <short_desc>Blank page in Safari; http://www.capitalone.co.uk/web/MenuUrl?z=null&amp;c=null% (Works in Firefox &amp; IE)</short_desc>
          <delta_ts>2007-02-11 10:16:23 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>420+</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>http://www.capitalone.co.uk/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Geoffrey Garen">ggaren</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>rms</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>28727</commentid>
    <comment_count>0</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2006-01-17 14:57:48 -0800</bug_when>
    <thetext>This bug is also in Radar as &lt;rdar://4200161&gt;

Submission ID: 28562840
Problem Type: Blank page
Problem Url: http://www.capitalone.co.uk/web/MenuUrl?z=null&amp;c=null
Comments: I am able to open the www.capitalone.co.uk website, but when I click on the link to &quot;Your accounts&quot; the url appears in the address bar, looks as though it is opening, but then all I see is a blank white screen.

Currently, it&apos;s blank page in Safari 2.0 (412.2); Mac os 10.4.2.
Works in IE 5.2.3 and Firefox 1.0.6.

-------------------------------------------

&lt;GMT01-Aug-2005 22:40:26GMT&gt; Beth Dakin:
I actually cannot get http://www.capitalone.co.uk to load any data either. Somehow Safari is not routing things correctly...perhaps javascript-related? At any rate, Safari can load the actual pages it is trying to get to, (for example, http://www.capitalone.co.uk/web/templates/home_temp_01_001.jsp?page_id=1&amp;context_id=2&amp;pageId=1 is the real homepage that capitalone.co.uk routes to, and if you click on the link,directly, it should load fine), but it is having trouble getting there through the other pages.

&lt;GMT25-Aug-2005 00:47:14GMT&gt; PATTY MAC:
Another submission bug ID: 28589270 is similar to this.
URL: http://www.capitalone.co.uk/web/templates/
Click on &quot;Your account&quot; on the left sidebar.  It&apos;s blank page.
Firefox 1.0.6 loads fine (see screenshot).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29275</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-01-21 11:49:38 -0800</bug_when>
    <thetext>This site uses an HTTP &quot;Refresh&quot; header to redirect from /web/MenuUrl?pageId=1 to /web/CookieDetectServlet?url=/web/MenuUrl?pageId=1. For whatever reason, the response includes a body (one byte, 0x20). NSURLConnection sniffs a MIME type text/plain for it, so it is handled by WebTextRepresentation.

Now, HTTP Refresh is handled in Frame::receivedFirstData(), and WebTextRepresentation, unlike WebHTMLRepresentation, never calls that. Note that the refresh is handled via Frame::setEncoding()!

#0	0x01904b7c in Frame::receivedFirstData at Frame.cpp:665
#1	0x01905104 in Frame::setEncoding at Frame.cpp:3187
#2	0x01946b44 in -[WebCoreFrameBridge setEncoding:userChosen:] at WebCoreFrameBridge.mm:624
#3	0x003347f0 in -[WebFrameBridge receivedData:textEncodingName:] at WebFrameBridge.m:470
#4	0x0036e404 in -[WebHTMLRepresentation receivedData:withDataSource:] at WebHTMLRepresentation.m:120

I&apos;ve been told that the architecture of WebTextRepresentation is going to be reworked to match HTML case. When this is done, it&apos;s quite likely that this problem will disappear without additional effort.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40291</commentid>
    <comment_count>2</comment_count>
    <who name="Andre-John Mas">andrejohn.mas</who>
    <bug_when>2006-04-23 20:45:49 -0700</bug_when>
    <thetext>I don&apos;t even see a page content. If I type:

   http://www.capitalone.co.uk/

I get sent here:

  http://www.capitalone.co.uk/web/MenuUrl?pageId=1

but the page contains no content. Tested with MacOS X 10.4.4 build and nightly of 23 April 2006.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41884</commentid>
    <comment_count>3</comment_count>
      <attachid>8221</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-05-10 10:15:49 -0700</bug_when>
    <thetext>Created attachment 8221
automated test case

&gt; I&apos;ve been told that the architecture of WebTextRepresentation is going to be
&gt; reworked to match HTML case. When this is done, it&apos;s quite likely that this
&gt; problem will disappear without additional effort.

And so it was! :)

The attached patch just adds a regression test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41885</commentid>
    <comment_count>4</comment_count>
      <attachid>8221</attachid>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2006-05-10 10:17:19 -0700</bug_when>
    <thetext>Comment on attachment 8221
automated test case

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47675</commentid>
    <comment_count>5</comment_count>
    <who name="Alice Liu">alice.barraclough</who>
    <bug_when>2006-06-28 12:58:10 -0700</bug_when>
    <thetext>removing hitlist keyword</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47680</commentid>
    <comment_count>6</comment_count>
    <who name="Alice Liu">alice.barraclough</who>
    <bug_when>2006-06-28 13:14:43 -0700</bug_when>
    <thetext>whoops, putting it back for tracking purposes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24256</commentid>
    <comment_count>7</comment_count>
    <who name="Philip Baxter">rms</who>
    <bug_when>2007-02-11 10:16:23 -0800</bug_when>
    <thetext>*** Bug 12734 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>8221</attachid>
            <date>2006-05-10 10:15:49 -0700</date>
            <delta_ts>2006-05-10 10:17:19 -0700</delta_ts>
            <desc>automated test case</desc>
            <filename>6621_test.txt</filename>
            <type>text/plain</type>
            <size>1943</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL2h0dHAvdGVzdHMvbWlzYy90ZXh0LXJlZnJlc2guaHRtbAo9PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9odHRwL3Rlc3RzL21pc2MvdGV4dC1yZWZyZXNoLmh0bWwJ
KHJldmlzaW9uIDApCisrKyBMYXlvdXRUZXN0cy9odHRwL3Rlc3RzL21pc2MvdGV4dC1yZWZyZXNo
Lmh0bWwJKHJldmlzaW9uIDApCkBAIC0wLDAgKzEsMTMgQEAKKzxoZWFkPgorPHNjcmlwdD4KK2lm
ICh3aW5kb3cubGF5b3V0VGVzdENvbnRyb2xsZXIpIHsKKyAgICBsYXlvdXRUZXN0Q29udHJvbGxl
ci53YWl0VW50aWxEb25lKCk7CisgICAgbGF5b3V0VGVzdENvbnRyb2xsZXIuZHVtcEFzVGV4dCgp
OworfQorPC9zY3JpcHQ+Cis8bWV0YSBodHRwLWVxdWl2PSJyZWZyZXNoIiBjb250ZW50PSIwOyBV
Ukw9cmVzb3VyY2VzL3RleHQtcmVmcmVzaC5wbCI+Cis8L2hlYWQ+Cis8Ym9keT4KK0ZBSUxVUkUg
KGNvdWxkbid0IGV2ZW4gc3RhcnQgdG8gdGVzdCkKKzwhLS0gaHR0cDovL2J1Z3ppbGxhLm9wZW5k
YXJ3aW4ub3JnL3Nob3dfYnVnLmNnaT9pZD02NjIxIC0tPgorPC9ib2R5PgpJbmRleDogTGF5b3V0
VGVzdHMvaHR0cC90ZXN0cy9taXNjL3RleHQtcmVmcmVzaC1leHBlY3RlZC50eHQKPT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PQotLS0gTGF5b3V0VGVzdHMvaHR0cC90ZXN0cy9taXNjL3RleHQtcmVmcmVzaC1leHBlY3RlZC50
eHQJKHJldmlzaW9uIDApCisrKyBMYXlvdXRUZXN0cy9odHRwL3Rlc3RzL21pc2MvdGV4dC1yZWZy
ZXNoLWV4cGVjdGVkLnR4dAkocmV2aXNpb24gMCkKQEAgLTAsMCArMSBAQAorU1VDQ0VTUwpJbmRl
eDogTGF5b3V0VGVzdHMvaHR0cC90ZXN0cy9taXNjL3Jlc291cmNlcy8yMDAuaHRtbAo9PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09Ci0tLSBMYXlvdXRUZXN0cy9odHRwL3Rlc3RzL21pc2MvcmVzb3VyY2VzLzIwMC5odG1sCShy
ZXZpc2lvbiAwKQorKysgTGF5b3V0VGVzdHMvaHR0cC90ZXN0cy9taXNjL3Jlc291cmNlcy8yMDAu
aHRtbAkocmV2aXNpb24gMCkKQEAgLTAsMCArMSw5IEBACis8aGVhZD4KKzxzY3JpcHQ+CitpZiAo
d2luZG93LmxheW91dFRlc3RDb250cm9sbGVyKQorICAgIGxheW91dFRlc3RDb250cm9sbGVyLm5v
dGlmeURvbmUoKTsKKzwvc2NyaXB0PgorPC9oZWFkPgorPGJvZHk+CitTVUNDRVNTCis8L2JvZHk+
CkluZGV4OiBMYXlvdXRUZXN0cy9odHRwL3Rlc3RzL21pc2MvcmVzb3VyY2VzL3RleHQtcmVmcmVz
aC5wbAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9odHRwL3Rlc3RzL21pc2MvcmVzb3VyY2Vz
L3RleHQtcmVmcmVzaC5wbAkocmV2aXNpb24gMCkKKysrIExheW91dFRlc3RzL2h0dHAvdGVzdHMv
bWlzYy9yZXNvdXJjZXMvdGV4dC1yZWZyZXNoLnBsCShyZXZpc2lvbiAwKQpAQCAtMCwwICsxLDgg
QEAKKyMhL3Vzci9iaW4vcGVybAorIyBTaW1wbGUgc2NyaXB0IHRvIGdlbmVyYXRlIGEgcmVkaXJl
Y3QgdG8gYSBzdWNjZXNzIGRvY3VtZW50LgorCitwcmludCAiQ29udGVudC10eXBlOiB0ZXh0L3Bs
YWluXHJcbiI7CitwcmludCAiUmVmcmVzaDogMDsgVVJMPTIwMC5odG1sXHJcbiI7CitwcmludCAi
XHJcbiI7CisKK3ByaW50ICJGQUlMVVJFXHJcbiI7CgpQcm9wZXJ0eSBjaGFuZ2VzIG9uOiByZXNv
dXJjZXMvdGV4dC1yZWZyZXNoLnBsCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTmFtZTogc3ZuOmV4ZWN1dGFibGUKICAg
KyAqCgo=
</data>
<flag name="review"
          id="2296"
          type_id="1"
          status="+"
          setter="andersca"
    />
          </attachment>
      

    </bug>

</bugzilla>