ee()->security->xss_clean($str) still mentioned even though deprecated

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

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

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
48/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
documentation

Hướng nghiên cứu

Open the linked security library documentation and find the xss_clean() entry. Confirm the current wording against the deprecation notice in the issue, then document that it has been deprecated since 3.0 and point readers to ee('Security/XSS')->clean(). Done when the documentation reflects that notice and replacement.

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

Mô tả

Description of the problem
EE Developer logs dutifully reports things like ...

Deprecated function xss_clean() called in
/home/catnet/system/user/addons/cat_world_domination/pi.cat_world_domination.php
on line 48.

From template tag
exp:cat_world_domination:__construct
in [malicious/rumours](https://do.lolwot.com/wp-content/uploads/2015/06/20-of-the-most-evil-cats-youll-ever-see-1.jpg).

Deprecated since 3.0. Use ee('Security/XSS')->clean() instead.

However EE Documentation makes no such notification in the documentation for xss_clean()

Ngôn ngữ chính
CSS
Star
22
Fork
79
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
6

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 ExpressionEngine/ExpressionEngine-User-Guide

Tất cả issue của ExpressionEngine/ExpressionEngine-User-Guide

Issue tương tự

Thêm issue về Documentation

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.