<?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>15182</bug_id>
          
          <creation_ts>2007-09-11 12:54:11 -0700</creation_ts>
          <short_desc>window.location.hash contains URL-encoded hash value</short_desc>
          <delta_ts>2012-09-11 18:42:37 -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>JavaScriptCore</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>All</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></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="Tim Buckingham">tim</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>barraclough</cc>
    
    <cc>jhanssen</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>639</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Buckingham">tim</who>
    <bug_when>2007-09-11 12:54:11 -0700</bug_when>
    <thetext>Stumbled upon a bug when working in #webkit with bdash.

When reading window.location.hash in Javascript characters are not URL decoded as they are in other browsers.  For example, trying to split #this|two|three when it is #this%7Ctwo%7Cthree fails in WebKit, but works fine in other browsers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>632</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-09-11 12:57:42 -0700</bug_when>
    <thetext>To reproduce:

1. Visit http://www.google.com.au/#%7C
2. Enter javascript:alert(location.hash) in the address bar.

Safari displays &apos;#%7C&apos;.  Camino displays &apos;#|&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-09-11 12:58:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/5474669&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>327094</commentid>
    <comment_count>3</comment_count>
    <who name="Jan Erik Hanssen">jhanssen</who>
    <bug_when>2010-12-27 12:37:08 -0800</bug_when>
    <thetext>The Mozilla people seems to think that their behavior (urldecoding window.location.hash) is a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=483304. Also, Opera does not urldecode this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>717804</commentid>
    <comment_count>4</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2012-09-11 18:42:37 -0700</bug_when>
    <thetext>Based on Jan Erik Hanssen&apos;s comment, plus teh fact we match Opera &amp; Chrome, looks like our behaviour is correct.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>