mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Join values using '; ' as per RFC spec
Multiple cookie values should be separated by '; ' according to RFC 6265, section 5.4.4[1]. [1]: https://tools.ietf.org/html/rfc6265#section-5.4
This commit is contained in:
parent
4247f02688
commit
89df021375
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ module ActionDispatch
|
|||
end
|
||||
|
||||
def to_header
|
||||
@cookies.map { |k,v| "#{escape(k)}=#{escape(v)}" }.join ';'
|
||||
@cookies.map { |k,v| "#{escape(k)}=#{escape(v)}" }.join '; '
|
||||
end
|
||||
|
||||
def handle_options(options) #:nodoc:
|
||||
|
|
Loading…
Reference in a new issue