1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/cgi/session.rb (create_new_id): don't cut off md5.hexdigest to

follow Ruby 1.8.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-06-29 11:52:17 +00:00
parent 78ce3ea1ed
commit c43511cd89
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Jun 29 20:51:04 2007 Tanaka Akira <akr@fsij.org>
* lib/cgi/session.rb (create_new_id): don't cut off md5.hexdigest to
follow Ruby 1.8.
Fri Jun 29 17:10:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* debug.h: constified.

View file

@ -186,7 +186,7 @@ class CGI
md5.update(String(rand(0)))
md5.update(String($$))
md5.update('foobar')
session_id = md5.hexdigest[0,16]
session_id = md5.hexdigest
end
@new_session = true
session_id