Ajax.InPlaceEditor.prototype: spaces are encoded to '+' after upgraded prototype to 1.7.1

253 Views Asked by At

I use InPlaceEditor in my code and it worked fine with prototype version 1.6.0.3, but after I upgraded to 1.7.1. All the spaces in the text field are replaced with "+"'s after being saved. What I can do to "disable" InPlaceEditor's text encoding?

The problem here is that what if I have a string "I have a dog + a cat + a parrot". It would be sent to the server as "I+have+a+dog+++a+cat+++a+parrot"

0

There are 0 best solutions below