Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Refused to set unsafe header "Connection"


Go to End
Reply


9 Posts   7331 Views

Avatar
AndreasAugustin

Community Member, 1 Post

12 July 2013 at 3:11am

It's an Error in prototype.js
Apparently, the error appeared because XMLHttpRequest isn’t allowed to set the Content-length header. It is set automatically by modern browsers. Mozilla Firefox now behaves the same way, just really old ones didn't. I solved the error by applying the following patch to the file sapphire/thirdparty/prototype/prototype.js
https://github.com/silverstripe/silverstripe-framework/commit/26a6f2e372ac6ef9601a53cac7fadc9ad87ab819

Go to Top