WPAFC / afch

Yet another Articles for creation helper script -- ACTIVE DEVELOPMENT NO LONGER HAPPENS IN THIS REPOSITORY AND HAS MOVED TO
https://github.com/WPAFC/afch-rewrite
9 stars 3 forks source link

Google Chrome refuses to set unsafe headers #94

Closed hasteur closed 11 years ago

hasteur commented 11 years ago

Google Chrome Version 28.0.1500.95 m commit: cf0dfe28f314a186ff40d67cae2e4414f35208b2 (beta)

Attempting to "Last Non-bot-edit" submit http://en.wikipedia.org/wiki/Wikipedia_talk:Articles_for_creation/3Ramallah.ps

Refused to set unsafe header "Content-length" index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-afchelper-beta.js/core.js:55 Refused to set unsafe header "Connection" index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-afchelper-beta.js/core.js:56

theopolisme commented 11 years ago

Yep, this is the result of using code from several years ago (and happens in all modern browsers). Browser security standards have definitely gone WAY up since then, as you can see. #93, using mw.api() instead of our own requests, will fix this. When I get a chance I will work on that -- closing this, though, as a duplicate of #93.