Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

...
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rack/ssl.rb
2  lib/rack/ssl.rb
View
@@ -78,7 +78,7 @@ def flag_cookies_as_secure!(headers)
end
headers['Set-Cookie'] = cookies.map { |cookie|
- if cookie !~ /; secure(;|$)/
+ if cookie !~ /; secure(;|$)/ and cookie !~ /_insecure_/ and cookie !~ /fastpass/
"#{cookie}; secure"
else
cookie

No commit comments for this range

Something went wrong with that request. Please try again.