GetSimple Support Forum

Full Version: FYI Google Chrome 17 issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
FYI, google recently added some XSS filtering to chrome.

When editing pages you might have issues. There seems to be alot of XSS reflection false positives going on.

I get javascript halts if I simply enter an img
<img src="" />

Console will show
Refused to execute a JavaScript script. Source code of script found within request.

Still investigating.

Only happening in 3.1, i wonder ifs its the new js queueing with the version numbers.

Supposedly you can send a header
X-XSS-Protection: 0
I guess ill try that only on edit pages.
Ok well I cannot for the life of me find where the admin pages send httpd headers at.
So unless I find that, and how to patch it in, ill have to come up with an apache rule to send the header.

You can also start up chrome with this switch, but its disables it for everything.

So your shortcut target would look something like this.
"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-xss-auditor

I also confirmed that this is new with 3.1, if you remove the querystrings from the javascript urls, its avoids this bug. So that has something to do with these false positives.
I made a plugin for this in case anyone has the same issue.
FYI, this is a webkit filter issue, so it probably affects all webkit browsers.

Plugin Name: sa_xss_off
Version: 1.0
Compatibility: 3.1
Description: Sends header to disable cient based XSS protection
Pages: (edit.php)

Now on extend, Moved to plugins
thanks Shawn!
ccagle8 Wrote:thanks Shawn!

Glad you guys added all these wikked plugin hooks.

3.1 is wonderful so far, I have about 20 plugins running on my dev install and no issues at all.