jesse-gallagher / frostillic.us-Blog

http://frostillic.us
Apache License 2.0
8 stars 0 forks source link

Encountered hex-parsing error when POSTing an edited post in the web UI #59

Open jesse-gallagher opened 5 years ago

jesse-gallagher commented 5 years ago
Screen Shot 2019-08-23 at 1 50 50 PM
jesse-gallagher commented 5 years ago

This is to do with the switch to using multipart/form-data for POSTs. Oddly, it looks like it's trying to URL-decode the contents of the multipart body, which seems incorrect. I'm not sure what to do about that.

jesse-gallagher commented 5 years ago

It seems like the @Encoded annotation is supposed to help with this, but it doesn't change the behavior.

jesse-gallagher commented 4 years ago

This seems to also have the effect of replacing "+" in content with a space, as is the way with URL decoding. That means trouble when editing a post on the web that contains legitimate "+" symbols.

jesse-gallagher commented 3 years ago

This still occurs with updated versions of various things, but maybe it'd be worth taking a look at @Encoded again.