asual/jquery-address — Issue #113: '&' character not encoded when used in parameters
Author: fehays
Created: 2012-01-25 21:05:25+00:00
State: open

When I use an ampersand character in a parameter, the parameter is truncated:

$.address.parameter('test', 'param=4¶m2=5');
console.log($.address.parameter('test'));
//output - param=4

If I encode it first, the output doesn't decode:

$.address.parameter('test', 'param=4%26param2=5');
console.log($.address.parameter('test'));
//output - param=4%26param2=5