Jasig/mod_auth_cas — pull request #52 by bnoordhuis (2013-03-29 14:31:51+00:00)
Title: Fix infinite redirect loop.

Handle the edge case where gateway-ing is enabled, the upstream CAS
session has expired but the client still sends a MOD_AUTH_CAS cookie.

If we redirect to the CAS server with a query string of
"service=request_uri&gateway=true", we'd create an infinite loop.

See https://issues.jasig.org/browse/MAS-52