Bug in SPRedirectWithID


Bug description: page gets redirected to "/&"

Bottom line: missing parenthesis around ternary operator when concatenating redirect Url.

I am using SPServices version 2013.01 and jquery 1.8.2, and IE9.

See demonstration of bug and my proposed fix: http://jsfiddle.net/UZfnB/1/

This bug was introduced in 2013.01ALPHA6 as a result of issue 10030: https://spservices.codeplex.com/workitem/10030.

See earlier related discussion post: https://spservices.codeplex.com/discussions/447740
Closed Dec 28, 2013 at 6:49 PM by sympmarc
Released in 2013.02


sympmarc wrote Oct 9, 2013 at 3:43 PM

Implemented in 2013.02ALPHA3. Thanks for providing the fix!

chloraphil wrote Oct 9, 2013 at 4:23 PM

Glad to help!