Ruby on Rails Monday, May 8, 2017

On 8 May 2017 at 15:50, fugee ohu <fugee279@gmail.com> wrote:
> database tables contain <tr><td>...
> when view renders < gets converted to &lt and > to &gt
> why is this happening?

To stop html injection
https://deadliestwebattacks.com/html-injection-quick-reference/

By the way did you solve your last issue (p==@posts.last)? You did not
reply to my question, which is not good manners.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvRHBJUxx2a3LRnc%3DF5%3D4Ka1MkUf_u2OpyStQCF0DSOpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment