Bug 124274
Summary: | Web Inspector: uses a different User-Agent string than the "inspected" window | ||
---|---|---|---|
Product: | WebKit | Reporter: | joost.dekeijzer |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | joepeck, timothy, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | 112071 | ||
Bug Blocks: |
joost.dekeijzer
When the inspector is enabled, it tries to fetch .map files for compressed javascript files.
When fetching, the User-Agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9) AppleWebKit/537.71 (KHTML, like Gecko)" is used, where the browser window itself uses "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9) AppleWebKit/537.71 (KHTML, like Gecko) Version/7.0 Safari/537.71"
In web applications with (very) strict security settings, a different User-Agent string can result in a logout. I've had this happening in a CakePHP application where User-Agent checking is a default security measure.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/15457529>
Timothy Hatcher
Bug 112071 would fix this.
Timothy Hatcher
This is fixed now that bug 112071 is fixed. Give it a try.
joost.dekeijzer
Hi,
I can confirm this issue fixed in Webkit Nightly r165723 "Version 7.0.2 (9537.74.9, 538+)"