This project has moved and is read-only. For the latest updates, please go here.


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:

This bug was introduced in 2013.01ALPHA6 as a result of issue 10030:

See earlier related discussion post:
Closed Dec 28, 2013 at 7:49 PM by sympmarc
Released in 2013.02


sympmarc wrote Oct 9, 2013 at 4:43 PM

Implemented in 2013.02ALPHA3. Thanks for providing the fix!

chloraphil wrote Oct 9, 2013 at 5:23 PM

Glad to help!