[Fwd: Re: Missing parameters on return URL]

Umut Arus umuta at sabanciuniv.edu
Thu Nov 15 04:25:48 EST 2007


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 <slonopotamusorama at gmail.com>
> Reply-To: 	Yale CAS mailing list <cas at tp.its.yale.edu>
> To: 	Yale CAS mailing list <cas at tp.its.yale.edu>
> References: 	<47302DD4.5030907 at sabanciuniv.edu>
>
>
>
> Step 2 URL is wrong. You must urlencode 'service' attribute value.
>
> 2007/11/6, Umut Arus <umuta at sabanciuniv.edu>:
> >
> >  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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20071115/73c02788/attachment.html 


More information about the cas mailing list