Same-origin request causes “Access-Control-Allow-Origin doesn’t match” error, though origin of course matches. Note: has CSP policy w/ “sandbox”
问题 When the exact same URL is being used in both by CORS and its web pages' URL, I still get the same error messages in my Firefox development console. Browser console messages were: Cross-Origin Request Blocked: \ The Same Origin Policy disallows reading the remote resource \ at https://egbert.net/fonts/fontawesome-webfont.woff2?v=4.7.0. \ (Reason: CORS header ‘Access-Control-Allow-Origin’ does not \ match ‘https://egbert.net’). Header Settings, lighttpd Server Access-Control-Allow-Origin: