找回密码
 快速注册
搜索
查看: 67|回复: 2

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

[复制链接]

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

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

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

 楼主| hbghlyj 发表于 2022-7-15 23:19
本帖最后由 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

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

 楼主| hbghlyj 发表于 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.

手机版|悠闲数学娱乐论坛(第3版)

GMT+8, 2025-3-4 16:03

Powered by Discuz!

× 快速回复 返回顶部 返回列表