[Radiant] Little bug in search_behaviour when using UTF-8
Ruben Nine
ruben.nine at gmail.com
Wed Aug 2 12:30:48 CDT 2006
To Oliver Baltzer:
I've found a little but annoying bug in search_behaviour:
A Rails exception raises when using any UTF-8 character in the
querystring (Ö, Á, for instance) which it's especially noticeable
when using the "live search" approach.
This is easily fixed by using "encodeURIComponent" instead of
"escape" (the former is what scriptaculous uses too)
More about this issue here: http://blog.openboxsoftware.com/2006/04/
javascript-escape-vs-encodeuricomponent/
I've attached a patch with the fix.

Cheers,
Ruben Nine
www.leftbee.net -- Personal Blog
-------------- next part --------------
Skipped content of type multipart/mixed
More information about the Radiant
mailing list