Bug #5723
closedCSRF error on dashboard: Refused to set unsafe header "Content-length"
100%
Description
While viewing the dashboard on pfSense in Chrome the error below is logged to the console:
Probably other places to..
Refused to set unsafe header "Content-length"
CsrfMagic.send csrf-magic.js:44
jquery-1.11.2.min.js:4
send
m.extend.ajax jquery-1.11.2.min.js:4
(index):835
get_gw_stats
Updated by Anonymous over 9 years ago
- Priority changed from Low to Very Low
This is a harmless warning that has been reported already. We may address it at a later date, but for now just ignore it.
Updated by Pi Ba over 9 years ago
Couldn't find the other report (i did search for it.). So just for sake of registration i put it here. And as the browser does 'log' it as an 'error' every few seconds, i think its worth fixing some day. Prio 'very low' is ok for me though.
Updated by Anonymous over 9 years ago
- Status changed from New to Feedback
- Assignee set to Pi Ba
Code that sets header length commented out in csrf-magic.js
Error message no longer appears on the browser console, and nothing seems to have broken.
Please report ASAP if you see any GUI issues with this change.
Updated by Anonymous over 9 years ago
- % Done changed from 0 to 100
Applied in changeset 311e4ad5ea15f8303205b31a2bc4afc868ee9441.
Updated by Anonymous over 9 years ago
- Status changed from Feedback to Resolved
- Assignee deleted (
Pi Ba)