mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/cgi/session.rb: support for multipart form.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ff03981ca8
commit
fec419a56b
2 changed files with 5 additions and 0 deletions
|
@ -36,6 +36,7 @@ class CGI
|
|||
end
|
||||
unless id
|
||||
id, = request[session_key]
|
||||
id = id.read if id.respond_to?(:read)
|
||||
unless id
|
||||
id, = request.cookies[session_key]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue