Skip to content

Commit

Permalink
* lib/cgi.rb (CGI#[]): get rid of exceptions being raised.
Browse files Browse the repository at this point in the history
  [ruby-dev:30740], Thanks Kentaro KAWAMOTO.



git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@12340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
shyouhei committed May 22, 2007
1 parent 28f5f27 commit ee3bcf6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions lib/cgi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,7 @@ def to_a
# retrieved; use #params() to get the array of values.
def [](key)
params = @params[key]
return '' unless params
value = params[0]
if @multipart
if value
Expand Down
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee3bcf6

Please sign in to comment.