I'd first make sure you're not url-encoding your return URL twice. I'd like to not believe that a CAS server wouldn't url-decode before the redirect, but ...
On Wed, Jan 27, 2010 at 12:38 PM, Jimmy Ghaphery <jghap...@vcu.edu> wrote: > Yes the original url looks like > > http://....../app.cfm?id=15 > and the return url coming back from CAS looks like > > http://....../app.cfm?id%3d15 > > I am pretty sure this is native to the way CAS returns urls, and probably > need to ping some ColdFusion folks on how to deal with the urlencoded > return. I'll also message the ColdFusion library group. > > If anyone out here has CAS experience and can confirm that urlencoded > return urls seem normal that would be helpful. > > > > > Walker, David wrote: > >> So a user arrives at your app. You see that they are not logged in, and >> so redirect them to the CAS server with a return URL back to your >> application. >> >> Do you have an example of that URL? >> >> --Dave >> >> ================== >> David Walker >> Library Web Services Manager >> California State University >> http://xerxes.calstate.edu >> ________________________________________ >> From: Code for Libraries [code4...@listserv.nd.edu] On Behalf Of Jimmy >> Ghaphery [jghap...@vcu.edu] >> Sent: Wednesday, January 27, 2010 9:18 AM >> To: CODE4LIB@LISTSERV.ND.EDU >> Subject: [CODE4LIB] urldecode problem and CAS >> >> CODE4LIB, >> >> I'm looking for some urldecode help if possible. I have an app that gets >> a call through a url which looks like this in order to pull up a >> specific record: >> http://....../app.cfm?id=15 >> >> It is password protected and we have recently moved to CAS for >> authentication. After it gets passed from CAS back to our server it >> looks like this and tosses an error: >> http://....../app.cfm?id%3d15 >> >> The equals sign translated to %3d >> >> Any ideas are appreciated. >> >> thanks >> >> -Jimmy >> >> >> -- >> Jimmy Ghaphery >> Head, Library Information Systems >> VCU Libraries >> http://www.library.vcu.edu >> -- >> > > -- > Jimmy Ghaphery > Head, Library Information Systems > VCU Libraries > http://www.library.vcu.edu > -- > -- Bill Dueber Library Systems Programmer University of Michigan Library