Letractively / rubycas-server

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

clean_service_url should remove `&' if there're other params in query. #76

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

Login with service url contains other query string,
e.g. page=123, would cause redirect loop because service
url didn't match. One includes a `&' in the end, the other don't.

So I thought `clean_service_url' should remove the `&' before
`ticket' in the url when `service' url contains other query string,
e.g. page=2&ticket=LT-123.
Here's my patch.
http://github.com/godfat/rubycas-server/commit/1dfd749710185ec56dc4529ec4b6a146b
9b0b256

Many thanks!

Original issue reported on code.google.com by god...@gmail.com on 5 May 2009 at 3:32

GoogleCodeExporter commented 8 years ago

Original comment by matt.zuk...@gmail.com on 12 Jun 2009 at 3:36