PhpMyAdmin Error: Mismatch Token

后端 未结 8 662
感情败类
感情败类 2021-01-12 05:10

I\'ve just recently been getting an error in my local installation on installed on apache on xampp. I\'m running v4.0.5 of phpmyadmin. The error description is Error: Mismat

8条回答
  •  心在旅途
    2021-01-12 05:22

    This error may appear if your website has a Content-Security-Policy header that is too restrictive.

    This header caused the "Mismatch token" error for me:

    content-security-policy: default-src 'self'; style-src 'self' 'unsafe-inline';
    

    By adding script-src 'self' 'unsafe-inline'; the error disappeared:

    content-security-policy: default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline';
    

    More info: https://content-security-policy.com/

提交回复
热议问题