So I have the following code using JQUERY with Sys.Services.AuthenticationService.login.
var username = $('#username').attr("value");
var password = $('#password').attr("value");
var isPersistent = false;
var customInfo = null;
var redirectUrl = $.jqURL.get('ReturnUrl');
Sys.Services.AuthenticationService.login(
username,
password,
isPersistent,
customInfo,
redirectUrl,
loginCompleted,
loginFailed);
Life is great except when the service redirects it does not decode the query string parameter before using it so it ends up at:http://localhost:54201/%2fAdmin%2fdefault.aspx
With a 400 bad request HTTP error.
Anybody know of a sample where the decode a url in javascript?
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.