Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Jolyon's latest activity

Thursday, November 12 2009
3360 message_verifier.verify - fails when cookie doesn't contain '--' was updated in Ruby on Rails
  • Jolyon
    Jolyon commented at 6:39 PM

    Not sure the regular expression test above is quite right. This worked for me:

    cookies['_some_session_id'] && ! (cookies["_some_session_id"] =~ /--/)
    end