Title: error when checking on html validator
Last modified: October 5, 2021

---

# error when checking on html validator

 *  Resolved [pr3d](https://wordpress.org/support/users/pr3d/)
 * (@pr3d)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-when-checking-on-html-validator/)
 * Content-Security-Policy HTTP header: Bad content security policy: Expecting uri-
   reference but found `"https://$".`
    -  This topic was modified 4 years, 7 months ago by [pr3d](https://wordpress.org/support/users/pr3d/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andrea Ferro](https://wordpress.org/support/users/unicorn03/)
 * (@unicorn03)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-when-checking-on-html-validator/#post-14939203)
 * Hello pr3d thank you for reporting the error “Content-Security-Policy HTTP header:
   Bad content security policy: Expecting uri-reference but found `"https://$".`”
 * We are finishing the new update that implements an HTTP Content-Security-Policy(
   CSP, report-uri directive instructs the user agent to report attempts to violate
   the content security policy. These violation reports consist of JSON documents
   sent via an HTTP POST request to the specified URI, now this feature is available
   with version 2.0.6 of Headers Security Advanced & HSTS WP.
 * Warning: although the report-to directive is intended to replace the deprecated
   report-uri directive , report-to is not yet supported in most browsers. So, for
   compatibility with current browsers, we have also added both report-uri and report-
   to compatibility (thus making Headers Security Advanced & HSTS WP already compatible
   and working).
 * Example:
    Content-Security-Policy: report-uri /csp-violation-endpoint-report-
   headers-security-advanced/; report-to default
 * ** We welcome any additional feedback you may have so that we can provide you
   with optimal support.
 * Thank you again for using Headers Security Advanced & HSTS WP and if possible
   please leave a review.
    -  This reply was modified 4 years, 7 months ago by [Andrea Ferro](https://wordpress.org/support/users/unicorn03/).
    -  This reply was modified 4 years, 7 months ago by [Andrea Ferro](https://wordpress.org/support/users/unicorn03/).

Viewing 1 replies (of 1 total)

The topic ‘error when checking on html validator’ is closed to new replies.

 * ![](https://ps.w.org/headers-security-advanced-hsts-wp/assets/icon.svg?rev=3102785)
 * [Headers Security Advanced & HSTS WP](https://wordpress.org/plugins/headers-security-advanced-hsts-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/headers-security-advanced-hsts-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/headers-security-advanced-hsts-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/headers-security-advanced-hsts-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/headers-security-advanced-hsts-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/headers-security-advanced-hsts-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrea Ferro](https://wordpress.org/support/users/unicorn03/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/error-when-checking-on-html-validator/#post-14939203)
 * Status: resolved