Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

CORS resources

Đang mở
#220 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions
Lĩnh vực
devops, security, web-dev

Hướng nghiên cứu

Start by inspecting how release candidate and snapshot information is loaded into openscad.org and how final releases are supplied in this repository. Compare serving JSON from files.openscad.org with storing the information here and updating it through GitHub Actions. Done means the information loads without embedded JavaScript code injection and the chosen update path is automated or has the required CORS header.

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

Mô tả

The current information about release candidate and snapshots are loaded from files.openscad.org . This is a cross origin request.

As workaround the files are served as embedded javascript. This enables code injection.

Json would be safe, but requires to set the cors header to allow the resource to be loaded by openscad.org

Is it possible to set the cors header on files.openscad.org?

Or supply the rc and snapshot information with this repository like the final releases and automate the update of the information by github actions?

Ngôn ngữ chính
HTML
Star
34
Fork
59
Merge trung bình
3 giờ 48 phút
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openscad/openscad.github.com

Tất cả issue của openscad/openscad.github.com

Issue tương tự

Thêm issue về DevOps

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.