How is your CAS login page set up? What is the FORM tag's action? Does it
include the service parameter?
-Scott
On Nov 15, 2007 4:25 AM, Umut Arus <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We have had urlencode 'service' attribute by using "*$service =~
> s/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg;* " code.
> But the problem have changed after this modification on Apache2::
> AuthCAS.pm. So,
>
> Step-1 After redirecting to CAS, encodes parameter,
>
> https://auth.domain.edu/cas/login?service=https%3A%2F%2Fresearch%2Esabanciuniv%2Eedu%2Fcgi%2Fusers%2Fhome%3Fscreen%3DItems%26show%5Finbox%3D1%26show%5Fbuffer%3D0%26show%5Farchive%3D0%26show%5Fdeletion%3D0
>
> Step-2 After CAS authentication, now only shows login pages of CAS.
> https://auth.domain.edu/cas/login
>
> Why does not it redirect to service url parameter?
>
> Regards,
>
> -------- Original Message -------- Subject: Re: Missing parameters on
> return URL Date: Tue, 6 Nov 2007 12:23:50 +0300 From: Marat Radchenko
> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Reply-To: Yale
> CAS mailing list <[email protected]> <[email protected]> To: Yale CAS
> mailing list <[email protected]> <[email protected]> References:
> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
>
> Step 2 URL is wrong. You must urlencode 'service' attribute value.
>
> 2007/11/6, Umut Arus <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>:
> >
> > Hi,
> >
> > We are trying to use Apache2::AuthCAS on an application. URL including the
> > query string sending to cas server however do not return second or another
> > parameters. You can reproduce with similar URL string.
> >
> > Is it a bug?
> >
> >
> > Connection Step 1:
> > https://auth.domain.edu/cgi/users/home?eprintid=5083&screen=EPrint::View::Owner
> >
> > Connection Step 2:
> > https://auth.domain.edu/cas/login?service=https://auth.domain.edu/cgi/users/home?eprintid=5083&screen=EPrint::View::Owner
> >
> > Connection Step 3:
> > https://auth.domain.edu/cgi/users/home?eprintid=5083
> >
> > apache access_log
> > 10.10.1.147 - - [08/Oct/2007:10:57:30 +0300] "GET
> > /cgi/users/home?eprintid=5083&screen=EPrint::View::Owner
> > HTTP/1.1" 302 328
> > 10.10.1.147 - - [08/Oct/2007:10:57:39 +0300] "GET
> > /cgi/users/home?eprintid=5083&ticket=ST-50481-MY6aJW3kaleQfEbul9YIxAJ5cUi0BRV0TDW-20
> > HTTP/1.1" 302 245
> > 10.10.1.147 - - [08/Oct/2007:10:57:39 +0300] "GET
> > /cgi/users/home?eprintid=5083 HTTP/1.1" 200 11063
> >
> > Regards,
>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas