xKiv
Active member
If I put 1+2 in a textarea with GET method, my firefox sends it as 1%2B2 in the URL ...
That's then decoded *twice* in RuntimeLibrary.form_fields():
Presumably, the first one converts %2B into a + (which is the same in UTF-8 as in ASCII), the second on converts the + into a space.
Maybe your
ETA: ninjad'
That's then decoded *twice* in RuntimeLibrary.form_fields():
Code:
// Something's messed up here - form values are
// double-URLencoded!
String decoded = URLDecoder.decode( pieces[ 1 ], "UTF-8" );
decoded = URLDecoder.decode( decoded, "UTF-8" );
Maybe your
fixed the issue where form values were double-encoded?And a recent change that I submitted should make KoLmafia NOT URLencode browser-submitted URLs again.
ETA: ninjad'