Page MenuHomeMiraheze

Bugs due to error. We can't load Youtube videos and Images.
Closed, ResolvedPublic

Description

Hi, I found that there's this error occuring due to the recent update.

Some of the examples can been seen here:
https://newusopedia.miraheze.org/wiki/%E3%82%A6%E3%82%BD%E3%83%81%E3%83%A5%E3%83%BC%E3%83%B3%E3%82%BA:%E8%87%AD%E3%81%8D%E7%8D%A3%E3%81%9F%E3%81%A1%E3%82%88

  1. the banner to the license page doesn't appear anymore:

Refused to load the image 'https://mirrors.creativecommons.org/presskit/buttons/88x31/png/by-nc.png' because it violates the following Content Security Policy directive: "default-src 'self' data: *.miraheze.org *.wikimedia.org *.wikipedia.org *.wikibooks.org *.wiktionary.org *.wikiquote.org *.wikisource.org *.wikiversity.org *.wikinews.org mediawiki.org wikidata.org *.wmflabs.org *.google.com *.gstatic.com *.addthis.com 'unsafe-inline' 'unsafe-eval'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.

  1. Youtube videos can no longer be loaded.

ウソチューンズ:臭き獣たちよ:51 Refused to frame 'https://www.youtube-nocookie.com/' because it violates the following Content Security Policy directive: "default-src 'self' data: *.miraheze.org *.wikimedia.org *.wikipedia.org *.wikibooks.org *.wiktionary.org *.wikiquote.org *.wikisource.org *.wikiversity.org *.wikinews.org mediawiki.org wikidata.org *.wmflabs.org *.google.com *.gstatic.com *.addthis.com". Note that 'frame-src' was not explicitly set, so 'default-src' is used as a fallback.

  1. Some of the Uncyclopedias use images from UnCommons, which are also no longer available:

This is one of the examples. Now the logo of the forum doesn't appear.
https://ansaikuropedia.miraheze.org/wiki/Forum:Miraheze%E3%83%A6%E3%83%BC%E3%83%A2%E3%82%A2%E3%82%A6%E3%82%A3%E3%82%AD%E9%80%A3%E5%90%88%E3%81%AE%E5%89%B5%E8%A8%AD%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6

It looks like a global issue to me. Could you handle it?

Revisions and Commits

Event Timeline

The_Pioneer triaged this task as Normal priority.Aug 27 2018, 09:08
The_Pioneer created this task.
Reception123 raised the priority of this task from Normal to High.Aug 27 2018, 09:24
Reception123 added a subscriber: John.

@John since you added the change

Paladox closed this task as Resolved by committing Unknown Object (Diffusion Commit).Aug 27 2018, 09:27
Paladox added a commit: Unknown Object (Diffusion Commit).

@The_Pioneer Thanks once again for your report. The issue has been fixed.

The_Pioneer reopened this task as Open.EditedAug 27 2018, 09:50

I have to reopen the task, because the image from https://mirrors.creativecommons.org is not displayed properly; at least, it looks like you're using the one from the mirror website for CC BY-NC banners, which is:
https://mirrors.creativecommons.org/presskit/buttons/88x31/png/by-nc.png

Also, isn't it possible to allow images from UnCommons (https://images.uncyc.org ), which is not done so far? Thanks again.