<?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>124274</bug_id>
          
          <creation_ts>2013-11-13 03:33:19 -0800</creation_ts>
          <short_desc>Web Inspector: uses a different User-Agent string than the &quot;inspected&quot; window</short_desc>
          <delta_ts>2014-03-17 08:22:36 -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>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          <dependson>112071</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter>joost.dekeijzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>joepeck</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>950102</commentid>
    <comment_count>0</comment_count>
    <who name="">joost.dekeijzer</who>
    <bug_when>2013-11-13 03:33:19 -0800</bug_when>
    <thetext>When the inspector is enabled, it tries to fetch .map files for compressed javascript files.

When fetching, the User-Agent &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9) AppleWebKit/537.71 (KHTML, like Gecko)&quot; is used, where the browser window itself uses &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9) AppleWebKit/537.71 (KHTML, like Gecko) Version/7.0 Safari/537.71&quot;

In web applications with (very) strict security settings, a different User-Agent string can result in a logout. I&apos;ve had this happening in a CakePHP application where User-Agent checking is a default security measure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>950104</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2013-11-13 03:33:44 -0800</bug_when>
    <thetext>&lt;rdar://problem/15457529&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>950862</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2013-11-14 14:59:56 -0800</bug_when>
    <thetext>Bug 112071 would fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>988549</commentid>
    <comment_count>3</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2014-03-08 04:52:51 -0800</bug_when>
    <thetext>This is fixed now that bug 112071 is fixed. Give it a try.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>991226</commentid>
    <comment_count>4</comment_count>
    <who name="">joost.dekeijzer</who>
    <bug_when>2014-03-17 08:22:36 -0700</bug_when>
    <thetext>Hi,

I can confirm this issue fixed in Webkit Nightly r165723 &quot;Version 7.0.2 (9537.74.9, 538+)&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>