Forgot password
 Register account
View 273|Reply 2

[HTTP跨域请求]content-security-policy frame-ancestors

[Copy link]

3204

Threads

7842

Posts

48

Reputation

Show all posts

hbghlyj posted 2022-7-10 07:41 |Read mode
用iframe嵌入一个w3school的页面,由于“安全原因”不能嵌入.
giphy (2).png
原来是HTTP头部有content-security-policy         frame-ancestors
giphy (2).png

3204

Threads

7842

Posts

48

Reputation

Show all posts

original poster hbghlyj posted 2022-7-15 23:19
Last edited by hbghlyj 2022-7-16 08:51
一楼的两个图片在Chrome中正常显示,但是在Firefox中总是加载失败,在新标签页打开后显示“编码错误”
I have filed a bug report at bugzilla 1779791. It should be classified in Graphics: ImageLib component.

PNG Structure
PNG file chunk inspector
PNG specification - W3C

3204

Threads

7842

Posts

48

Reputation

Show all posts

original poster hbghlyj posted 2022-7-16 15:36
hbghlyj 发表于 2022-7-15 16:19
I have filed a bug report at bugzilla 1779791. It should be classified in Graphics: ImageLib compon ...

        Timothy Nikkel :
So it looks like MS Paint is not apng aware and it just moves/saves the edited IDAT at/to the end of the file, which messes up the apng sequence numbering and gives us two fcTL in a row at the start where the IDAT used to be. Per spec wiki.mozilla.org/APNG_Specification these are supposed to be rejected. But it seems like we could be more permissive in allowing this kind of error.

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-6 03:41 GMT+8

Powered by Discuz!

Processed in 0.014839 seconds, 26 queries