Should HTML be encoded before being persisted?

前端 未结 5 432
我寻月下人不归
我寻月下人不归 2020-12-31 05:11

Should HTML be encoded before being stored in say, a database? Or is it normal practice to encode on its way out to the browser?

Should all my text based field lengt

5条回答
提交回复
热议问题