When you have a select box that contains items with slashes in their value you get a 404 error. I traced the problem to the encodeURIComponent() function called in activeselect.js. I replaced three instances of this function with encodeURI() on lines 229 and 230. Ref: http://xkr.us/articles/javascript/encode-compare/

I know I've found difference between these functions before, but I can't remember what they are so I don't know if they are consequences to this change. However, activeselect works for me now. Thanks for the great module!

Comments

geodaniel’s picture

I'm sure I've seen the same bug in the core autocomplete functionality before as well - not tried it out recently though.

geodaniel’s picture

Status: Active » Closed (duplicate)