RESOLVED FIXED 124274
Web Inspector: uses a different User-Agent string than the "inspected" window
https://bugs.webkit.org/show_bug.cgi?id=124274
Summary Web Inspector: uses a different User-Agent string than the "inspected" window
joost.dekeijzer
Reported 2013-11-13 03:33:19 PST
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
Radar WebKit Bug Importer
Comment 1 2013-11-13 03:33:44 PST
Timothy Hatcher
Comment 2 2013-11-14 14:59:56 PST
Bug 112071 would fix this.
Timothy Hatcher
Comment 3 2014-03-08 04:52:51 PST
This is fixed now that bug 112071 is fixed. Give it a try.
joost.dekeijzer
Comment 4 2014-03-17 08:22:36 PDT
Hi, I can confirm this issue fixed in Webkit Nightly r165723 "Version 7.0.2 (9537.74.9, 538+)"
Note You need to log in before you can comment on or make changes to this bug.