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

Bleach is deprecated

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

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

@seansica đang làm issue này rồi.

Từ ngày 28/6/2023.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Per Mozilla, as of Jan 23, Bleach is deprecated: https://github.com/mozilla/bleach/issues/698#issue-1553425406

They will continue to provide security updates and bug fixes for approximately one year.

We need to replace Bleach.

ammonia looks like a promising solution but there may be others.

This is a good opportunity to refactor a bit. The process of sanitizing the HTML and generating the seed file (index.json) for the search index should be decoupled. There ought to be a separation of concerns between the generation of the website content and the generation of the search index.

Order of events:

  1. Build website (Pelican/update-attack.py)
  2. Generate seed file for search index (e.g., ammonia)
  3. Generate search index (attack-search --> npm/webpack)
Ngôn ngữ chính
HTML
Star
590
Fork
175
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
3

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

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 mitre-attack/attack-website

Tất cả issue của mitre-attack/attack-website

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.