Ruby on Rails Saturday, January 23, 2016

On Sat, Jan 23, 2016 at 12:30 AM, Marvin Danig <marvindanig@gmail.com> wrote:
> I'm gonna summarise the question here, but the code and detailed situation
> is best described at StackOverFlow:

Not sure why you'd say that, but in any case...

> I'm POSTing/PATCHing a JSON to a rails API endpoint with key-value pairs of
> HTML, CSS, JS and HEAD.
>
> The values contain raw html, raw css, raw js with special characters like %,
> @, &, ; that rails probably doesn't like. The parser is currently removing
> these special characters

Can you show a (minimal) example of the actual JSON being sent?

Have you written a test that demonstrates the failure?

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
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/CACmC4yAicvZDhaqq3uytdGvp70SKAQFCKQSrmm-MauhtXXMhDg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment