Django and request.POST
I spent a lot of time trying to figure out why django removed the ‘+’ character from the POST data retrieved via request.POST.
Still don’t know the reason of this behaviour, but using request.raw_post_data saved my day …
I spent a lot of time trying to figure out why django removed the ‘+’ character from the POST data retrieved via request.POST.
Still don’t know the reason of this behaviour, but using request.raw_post_data saved my day …
January 30th, 2009 14:39
I don’t know if this is your scenario, but if you send + sign unescaped in encoded POST requests the standard says it will be interpreted as an space in the unencoded string. Try to use %2B instead of + sign.
Bye
February 5th, 2009 03:09
poz seguro que es por eso, así que convertiré el texto como sugieres.
Gracias!