You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "VedarthConfluent (via GitHub)" <gi...@apache.org> on 2024/04/11 16:20:46 UTC

[PR] [MINOR] Add youtube to content security policy [kafka-site]

VedarthConfluent opened a new pull request, #597:
URL: https://github.com/apache/kafka-site/pull/597

   This change should fix the broken video on quickstart page https://kafka.apache.org/quickstart.
   Currently observing following error:-
   `quickstart:297 Refused to frame 'https://www.youtube.com/' because it violates the following Content Security Policy directive: "frame-src 'self'"`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [MINOR] Add youtube to content security policy [kafka-site]

Posted by "raboof (via GitHub)" <gi...@apache.org>.
raboof commented on PR #597:
URL: https://github.com/apache/kafka-site/pull/597#issuecomment-2075421541

   unfortunately it seems https://w3c.github.io/webappsec-csp/#meta-element is correct that the meta element can only further restrict the policy, not widen it.
   
   I wonder if you could do a `Header add` in a `.htaccess` file like in https://github.com/apache/privacy-website/tree/main/examples/youtube-html ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [MINOR] Add youtube to content security policy [kafka-site]

Posted by "omkreddy (via GitHub)" <gi...@apache.org>.
omkreddy merged PR #597:
URL: https://github.com/apache/kafka-site/pull/597


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org