mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/cgi.rb (CGI#[]): get rid of exceptions being raised.
[ruby-dev:30740], Thanks Kentaro KAWAMOTO. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
46fa180ea0
commit
2faba09356
3 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed May 23 06:51:46 2007 URABE Shyouhei <shyouhei@ruby-lang.org>
|
||||
|
||||
* lib/cgi.rb (CGI#[]): get rid of exceptions being raised.
|
||||
[ruby-dev:30740], Thanks Kentaro KAWAMOTO.
|
||||
|
||||
Wed May 23 05:49:49 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default
|
||||
|
|
|
@ -1163,6 +1163,7 @@ class CGI
|
|||
# retrieved; use #params() to get the array of values.
|
||||
def [](key)
|
||||
params = @params[key]
|
||||
return '' unless params
|
||||
value = params[0]
|
||||
if @multipart
|
||||
if value
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define RUBY_RELEASE_DATE "2007-05-23"
|
||||
#define RUBY_VERSION_CODE 186
|
||||
#define RUBY_RELEASE_CODE 20070523
|
||||
#define RUBY_PATCHLEVEL 25
|
||||
#define RUBY_PATCHLEVEL 26
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
#define RUBY_VERSION_MINOR 8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue