issue: iFrame Single Quotes
It's all about the single quotes baby! Apparently I can't read; the single quotes are only meant for word options such as `'self'` and `'none'`. When adding single quotes to the `<host-source>` options it takes them literally…too literally. For example, if your options are `'localhost:80 localhost:8080 localhost:8000'` then `'localhost:80` and `localhost:8000'` will be seen as "invalid" due to the single quotes. This removes the single quotes from every line that sets the CSP so all options are valid. This also adds single quotes around the `self` option so it stays valid as well.
Showing
- include/class.config.php 1 addition, 1 deletioninclude/class.config.php
- include/client/header.inc.php 1 addition, 1 deletioninclude/client/header.inc.php
- include/staff/header.inc.php 1 addition, 1 deletioninclude/staff/header.inc.php
- include/staff/login.header.php 1 addition, 1 deletioninclude/staff/login.header.php
- setup/inc/header.inc.php 1 addition, 1 deletionsetup/inc/header.inc.php
Loading
Please register or sign in to comment