HelloZeroNet / HelloZeroNet/ZeroNet

ZeroNet still seeds a site when inner iframe was not loaded.

未关闭
#742 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
18.8k
派生
2.3k
PR 合并指标
30 天内没有已合并 PR

描述

```html

function get(url) {
var r = new XMLHttpRequest();
r.onload = function() {
console.log(r.responseText);
};
r.open("GET", url);
r.send();
}

get("/13Lo9wpxbogHdaTQ9rGZruu9MJZnigzU3B/");
get("/1CiDoBP8RiWziqiBGEd8tQMy66A6fmnw2V/big/sample-loader/files/list.json");
console.log("Request sent.");

```

```
Request sent.
! Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:43110/13Lo9wpxbogHdaTQ9rGZruu9MJZnigzU3B/. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
```

Site **still seeded** and appeared.

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 issue 中的 HTML/JavaScript XMLHttpRequest 复现开始,跟踪 ZeroNet 如何处理失败的内部请求。完成的标准是:当内部 iframe 或请求未加载时,站点不会继续 seeding,也不会出现,并且提供的复现不再显示所报告的行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
web-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。