Can't use '?' in authentication url
i found a bug in jsConnect, but couldn't find a proper place to report it, so i am posting it here. sorry if this is inappropriate.
if my authentication url includes an '?', the url built to handle the authentication is invalid.
for example let's say that the authentication url is
http://www.example.com/index.php?module=Vanilla&func=authenticate. Then, jsConnect will append it's parameters without checking if the authentication url already has a '?'. The resulting url will be something like
http://www.example.com/index.php?module=Vanilla&func=authenticate?client_id=XXX×tamp=XXX&signature=XXX&Target=%2Fsettings%2Fjsconnect (notice the 2 question marks?)
my suggestion is to add a check if the authentication url has a question mark, if it does, then append '&' else append '?'.
thanks for looking and great job on the jsConnect plugin