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

オープン
#929 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
48/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
php
領域
documentation

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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()

主要言語
CSS
スター
22
フォーク
79
平均マージ
2日 1時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ExpressionEngine/ExpressionEngine-User-Guide のほかの issue

ExpressionEngine/ExpressionEngine-User-Guide の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。