mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 00:54:01 +02:00
* lib/cgi/session.rb (CGI::Session#initialize): empty session id was
used if request had no session key. fixed: [ruby-core:03981] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
14479cf73d
commit
fbd922da76
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Dec 20 03:30:40 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/cgi/session.rb (CGI::Session#initialize): empty session id was
|
||||||
|
used if request had no session key. fixed: [ruby-core:03981]
|
||||||
|
|
||||||
Mon Dec 20 00:28:20 2004 Kouhei Sutou <kou@cozmixng.org>
|
Mon Dec 20 00:28:20 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||||
|
|
||||||
* lib/rexml/encodings/SHIFT-JIS.rb: backported from CVS HEAD.
|
* lib/rexml/encodings/SHIFT-JIS.rb: backported from CVS HEAD.
|
||||||
|
@ -12,7 +17,7 @@ Sun Dec 19 17:19:48 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
* test/openssl/ossl_x509store.rb: test certificate validity times.
|
* test/openssl/ossl_x509store.rb: test certificate validity times.
|
||||||
|
|
||||||
* ext/openssl/ossl_x509name.c (ossl_x509name_to_s): add optional
|
* ext/openssl/ossl_x509name.c (ossl_x509name_to_s): add optional
|
||||||
second argument to specify the output format (see also
|
second argument to specify the output format (see also
|
||||||
X509_NAME_print_ex).
|
X509_NAME_print_ex).
|
||||||
|
|
||||||
|
@ -20,7 +25,7 @@ Sun Dec 19 17:19:48 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
OpenSSL::X509::Name::COMPAT, OpenSSL::X509::Name::RFC2253,
|
OpenSSL::X509::Name::COMPAT, OpenSSL::X509::Name::RFC2253,
|
||||||
OpenSSL::X509::ONELINE, OpenSSL::X509::MULTILINE.
|
OpenSSL::X509::ONELINE, OpenSSL::X509::MULTILINE.
|
||||||
|
|
||||||
* ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name::RFC2253DN):
|
* ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name::RFC2253DN):
|
||||||
new module to provide the parse for RFC2253 DN format.
|
new module to provide the parse for RFC2253 DN format.
|
||||||
|
|
||||||
* ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name.parse_rfc2253):
|
* ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name.parse_rfc2253):
|
||||||
|
|
|
@ -253,7 +253,8 @@ class CGI
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
unless session_id
|
unless session_id
|
||||||
if session_id = request[session_key]
|
if request.key?(session_key)
|
||||||
|
session_id = request[session_key]
|
||||||
session_id = session_id.read if session_id.respond_to?(:read)
|
session_id = session_id.read if session_id.respond_to?(:read)
|
||||||
end
|
end
|
||||||
unless session_id
|
unless session_id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue