xss攻击问题

dev_sync_trustie
daiao 5 years ago
parent 468ad41f25
commit 413ade904c

@ -1,5 +1,5 @@
json.id memo.id
json.content memo.content
json.content content_safe(memo.content)
json.time time_from_now(memo.created_at)
json.user_id memo.author_id
json.image_url url_to_avatar(memo.author)

Loading…
Cancel
Save