Hi, For information, I found how to solve the URL rewriting problem with CAS. It was not CAS itself but the mod_auth_cas. We had upgraded to 1.0.8 and the bugs appears. Back to 1.0.7 and this works fine again. I have serveral test/prod configuration and check them all. There must be a problem with the latest release of mod_auth_cas 1.0.8. Maybe next to the encoding issue found here: http://developer.jasig.org/source/changelog/jasigsvn/cas-clients/mod_auth_cas?cs=44329 Best Chris
________________________________ De : Scott Battaglia [mailto:[email protected]] Envoyé : mardi 17 février 2009 16:38 À : [email protected] Objet : Re: [cas-user] URL encoding problem On Tue, Feb 17, 2009 at 10:35 AM, Naslain Christophe <[email protected]> wrote: Hi Scott, I run a standard an non-custom CAS server. What do you mean by "manual processing done" ? Do the service parameter in the CAS URL can handle with parameters or is it only the website root. It handles the url that's passed to it, no matter what as long as its supplied with a properly encoded url. Your issue is most likely not with the CAS server unless you made any modifications to it that would alter its behavior. -Scott Best, Chris ________________________________ De : Scott Battaglia [mailto:[email protected]] Envoyé : mardi 17 février 2009 15:22 À : [email protected] Objet : Re: [cas-user] URL encoding problem It would appear that its been partially url-decoded on the return which would imply there may have been some manual processing done. CAS obtains the unencoded url from the servlet container. -Scott On Tue, Feb 17, 2009 at 5:34 AM, Chris <[email protected]> wrote: Hi, First, here is my configuration: - Linux centOS 5 / Apache 2.2.3 - CAS server 3.1.1 - mod_auth_cas 1.0.7 I guess I'm not the first one asking for this issue, but I havn't found an easy solution to fix this. My last attempt was to compile and test mod_auth_cas 1.0.7 & 1.0.8 as I saw a fix in svn repository: http://developer.jasig.org/source/browse/jasigsvn/cas-clients/mod_auth_cas/trunk/src/mod_auth_cas.c?r1=44206&r2=44329 Redirection from CAS does not returns the URLs as expected, in particular characters '&' and '=' are replaced by their HTML codes ('%26' and '%3d'). Example: - Since an Excel sheet or an mail, I have links to dynamic pages (Bugzilla) with parameters (the bug ID). - I click on http://bugzilla.mysite.com/show_bug.cgi?id=29345 which is CAS protected - I am redirected to https://cas-login.mysite.com/cas/login;jsessionid=6AB...611?service=http%3a%2f%2fbugzilla.mysite.com%2fshow_bug.cgi%3fid%3d29345 - I login with a valid account - CAS redirects me to the service with URL: http://bugzilla.mysite.com/show_bug.cgi%3fid%3d29345 And this is my problem cos URL parameters are not expected ones; I shoud have show_bug.cgi?id=29345 and not show_bug.cgi%3fid%3d29345 Is there a CAS parameter to set encoding stuffs? Thanks for your help. Chris -- 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 -- 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
