google-code-export / rubycas-client

Automatically exported from code.google.com/p/rubycas-client
1 stars 1 forks source link

Merb framework filter does not halt correctly #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the :cas_filter as a before filter in a merb app
2. hit the merb app unauthenticated

What is the expected output? What do you see instead?

It should redirect to the cas login host, without going to the action or
displaying information.  Instead it will execute the action and display. 
(The header will still redirect, but the body is still there upon
inspection, and of couse you could do bad things by POSTing etc to the
correct urls).

Patch attached.

Original issue reported on code.google.com by cas...@gmail.com on 14 May 2009 at 1:23

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by matt.zuk...@gmail.com on 18 Aug 2009 at 5:12

GoogleCodeExporter commented 9 years ago
Thanks, your patch has been merged in.

http://github.com/gunark/rubycas-client/commit/f87cc470ba3a908c636c986a0aa315f03
e8582a7

Original comment by matt.zuk...@gmail.com on 18 Aug 2009 at 5:16