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

Add new Antlers Security section

Đang mở
#1,854 0 bình luận 3 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
laravel, php
Lĩnh vực
documentation

Hướng nghiên cứu

Start with the upgrade guide and the Antlers documentation pages named in the issue, then review the four related Statamic CMS pull requests to understand the security changes. Cover the listed topics in both sections, including trusted mode, configuration, affected control panel fields, addon registration and debugging. Done when the upgrade path and Antlers security behavior are documented clearly.

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

Mô tả

Recent PRs introduced breaking changes and improvements to Antlers security.

I'd suggest to create new sections for

Topics to cover:

  • Explain trusted/untrusted mode and its scope
  • List of available trusted modifiers, tags
  • Using config props
  • Document Antlers::parser and things to be aware of
  • Which CP fields are affected of the security restriction (like collection route fields)
  • If projects modifiers and tags are trusted automatically
  • How addons can register trusted modifiers and tags
  • How to debug modifiers and tags that don't seem to work (return null/previous value silently)
  • Things to be aware of when using view or other helpers to render Antlers templates from code

Related PRs:

Ngôn ngữ chính
PHP
Star
133
Fork
405
Merge trung bình
21 giờ 45 phút
Pull request đã merge (30 ngày)
12

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 statamic/docs

Tất cả issue của statamic/docs

Issue tương tự

Thêm issue về PHP

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.