HelloZeroNet / HelloZeroNet/ZeroNet

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

Đang mở
#742 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
18.8k
Fork
2.3k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

```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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start with the HTML/JavaScript XMLHttpRequest reproduction in the issue and trace how ZeroNet handles the failed inner request. Done means a site does not continue seeding or appear when the inner iframe or request was not loaded, with the provided reproduction no longer showing the reported behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript
Lĩnh vực
web-dev
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.