[Rails] Re: Re: How to render a text file without changing its formatting?
Colin Law wrote in post #1070313:
> On 26 July 2012 21:21, Robert Walker <lists@ruby-forum.com> wrote:
>>
>> That's what we would call "user provided data" and you should never
>> trust user provided data.
>
> Will html not automatically be escaped (assuming this is on Rails 3)
> as the string will not be marked html safe? If not on 3 then
> certainly it must be sanitised.
Yeah... I didn't consider that. Thanks for the clarification.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home