Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mtb_allowed_tag の初期値に不足 #224

Open
seasoftjapan opened this issue Aug 18, 2018 · 5 comments
Open

mtb_allowed_tag の初期値に不足 #224

seasoftjapan opened this issue Aug 18, 2018 · 5 comments

Comments

@seasoftjapan
Copy link
Contributor

seasoftjapan commented Aug 18, 2018

運営サイドで追加しているのをよく見かけるのを、記憶の範囲で。

  • span
  • tbody
  • thead
  • tfoot (見かけないけど一応)
  • th
  • ul
  • ol
  • dl
  • dt
  • dd
@so-amuamu
Copy link

html5のリファレンスより、定義を網羅するようにしましょう
sectionなど多数足すべきものがあると思われます

@nobuhiko
Copy link
Contributor

入れちゃいけないタグを弾く方式じゃダメなんですかね?
入れちゃいけないタグがなんなのかよくわからないですが

@so-amuamu
Copy link

確かにブラックリスト方式の方が現状は良さそう・・・

@seasoftjapan
Copy link
Contributor Author

ブラックリスト化するとして、この Issue で扱うのか、別とするのか、どうでしょうか?

また、ブラックリストに初期登録する要素を、叩き台として列挙してみます。

  • script
  • html
  • body
  • head
  • title
  • meta
  • frame
  • frameset
  • object
  • embed
  • param
  • form
  • input
  • select
  • textarea
  • button

@so-amuamu
Copy link

仕様が180度変わる(ホワイトリスト方式→ブラックリスト方式)のは直近では避けるとして
今回はタグを追加して本件は終わりにし、ブラックリスト方式にするのは将来検討としたいです。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants