You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot read ServletInputSream with form request encoding when using ProxyExchange.
For example, a form parameter "こんにちは世界" (hello, world) encoded with Shift-JIS will be %EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%C9%82%EF%BF%BD%EF%BF%BD%CD%90%EF%BF%BD%EF%BF%BDE. This is not an encoded value with Shift-JIS nor UTF-8.
I think FormFilter read request body with UTF-8 regardless of request encoding, so Shift-JIS parameter will be garbled text. FormFilter use the encoding by getCharacterEncoding(), this problem will be ok.
rshindo
changed the title
Cannot read ServletInputSream with form request encoding when using ProxyExchange
Form request parameters become garbled texts if non-UTF8 encoding
Nov 10, 2024
Versions
Bugs
Cannot read ServletInputSream with form request encoding when using ProxyExchange.
For example, a form parameter "こんにちは世界" (hello, world) encoded with Shift-JIS will be
%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%C9%82%EF%BF%BD%EF%BF%BD%CD%90%EF%BF%BD%EF%BF%BDE
. This is not an encoded value with Shift-JIS nor UTF-8.Sample
Spring code
Post request from this HTML
The text was updated successfully, but these errors were encountered: