Thanks for the hint. The problem was that I was using the default version of mod_auth_cas available with my Ubuntu system (1.0.8) (yes, even though the Alfresco documentation for mod_auth_cas specifically advises against using this version). After I compiled and installed the latest release version from source (1.0.9.1), the service URL is properly unescaped.
On Wed, Feb 23, 2011 at 3:26 PM, Leo Yamamoto <[email protected]> wrote: > I'm using mod_auth_cas, but unsure on exactly which version. I'll try > getting the latest. > > > On Wed, Feb 23, 2011 at 2:43 PM, <[email protected]> wrote: > >> What CAS client are you using? A CAS client should be encoding properly. >> >> Sent from my Verizon Wireless BlackBerry >> ------------------------------ >> *From: * Leo Yamamoto <[email protected]> >> *Date: *Wed, 23 Feb 2011 14:26:31 -0800 >> *To: *<[email protected]> >> *ReplyTo: * [email protected] >> *Subject: *[cas-user] Service URL encoding breaks parameters? >> >> I have CAS 3.4.6 configured and working correctly, but one issue I'm >> having is that since the service URL is encoded when redirected after a >> login, any parameters in the URL do not get properly interpreted by my >> client application. >> >> In my case, I have CAS integrated with Alfresco, a content management >> system. If I attempt to access an Alfresco web script (essentially a REST >> service), such as http://myhost/alfresco/wcs/api/myscript?key=value, then >> the CAS part works well and I can log in, but the redirect takes me to >> http://myhost/alfresco/wcs/api/myscript?key%3Dvalue, and the handler for >> "myscript" doesn't understand that there's a parameter named "key" with a >> value of "value." My question is, is this the expected behavior for CAS? >> I've searched around and found a lot of discussion in JIRA issues and such >> about having to escape things for security but it seems like with this >> behavior, any service URL that contains parameters would need to manually >> parse its query string. >> >> -- >> You are currently subscribed to [email protected] as: >> [email protected] >> >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> -- >> You are currently subscribed to [email protected] as: [email protected] >> >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
