fix unnecessary redirect w/ tickets in query params
Status: Beta
Brought to you by:
gonzai
If you look at the get_url_ticket() function, you will
notice that it
never sets the return value, "ticket", even when a url
ticket is
successfully found. This doesn't stop url tickets from
working,
however! The url ticket is still decoded and set in a
cookie, but the
browser is sent back to the login url a second time,
and redirected
back to the real url, this time with the cookie set
properly.
So...the bug isn't critical, but it does generate an
extra unnecessary
visit to the login url.
patch