Remix.run Logo
▲ speedgoose 3 hours ago

But can the attacker specify the encoding in rails? It's not like UTF-8 or GTFO?

▲CER10TY 2 hours ago | parent [-]

You can freely specify the encoding when sending multipart/form-data POST since Rails respects the charset attribute in Content-Type, eg Content-Type: text/plain; charset=Windows-1252

▲bloak 2 hours ago | parent [-]

So you have to convert ISO-2022-JP, for example? That sounds like a disaster waiting to happen.

▲lmz 2 hours ago | parent [-]

Clients have to do the same with server responses.