safaacar / rubycas-server

Automatically exported from code.google.com/p/rubycas-server
GNU Lesser General Public License v2.1
0 stars 0 forks source link

url truncated #117

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ensure to be logged out from mod_auth_cas
2. call an url where ticket, service, gateway or renew is a substring of a 
variable name in the query string
3. the url is truncated begining from the above substring.
ex:
https://www.example.com?anything_ticket=value -(clean_service_url)-> 
https://www.example.com?anything_

What version of RubyCAS-Server are you using? How is it installed (rubygem,
manual install)? How are you running it (webrick, mongrel, passenger,
etc.)?
 - server part: manual install (current git clone) with passenger
 - client part: mod_auth_cas (1.9.0.1)

If relevant, please paste your RubyCAS-Server config.yml file here.

Please provide any additional information below.

It seems to be a mistake in a regexp.
In attachement the patch realised to correct this bug.

Original issue reported on code.google.com by acc...@gmail.com on 24 Jan 2012 at 9:36

Attachments: