What steps will reproduce the problem?
1. enable_single_sign_out
2. access client site with trailing, e.g. http://example.com/webapp/
3. rubycas-server removes trailing / from service (see issue 37), e.g.
http://example.com/webapp
4. log out
5. client site responds to logout notification with 301, e.g. request to
http://example.com/webapp is redirected to http://example.com/webapp/
6. rubycas-server does not follow redirect
What version of RubyCAS-Server are you using? How is it installed (rubygem,
manual install)? How are you running it (webrick, mongrel, passenger,
etc.)?
rubycas-server-0.7.999999.20100202 & mongrel
Please provide any additional information below.
I updated send_logout_notification_for_service_ticket to follow redirects
(using http://tinyurl.com/24kxlho as an example). The attached patch works
for me but as it's the first time I've every written/patched ruby, you
might want to review it :)
Original issue reported on code.google.com by black.wa...@gmail.com on 2 Jun 2010 at 4:35
Original issue reported on code.google.com by
black.wa...@gmail.com
on 2 Jun 2010 at 4:35Attachments: