Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
886 views
in Technique[技术] by (71.8m points)

tinymce 5 and n1ed - upon save to db, it also includes text "[removed][removed]"

I am using tinyMCE 5 and n1ed. I have no idea where this is coming from and have search google with zero results. When I submit my textarea to db for saving, it always includes "[removed][removed]". I remove n1ed and it doesn't happen. I am stumped how to even debug. Any guidance very much appreciated.

question from:https://stackoverflow.com/questions/65867915/tinymce-5-and-n1ed-upon-save-to-db-it-also-includes-text-removedremoved

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Sorry, I failed to mention I was using Codeigniter3.

I turned off xxs_clean in the validation rules and it worked.

Refer to this: Codeigniter: Submit textarea with <script> inside


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...