diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-12-22 09:00:23 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-12-22 09:00:23 +0000 |
commit | 25cea1443f8636cdd7a4abf0f2c8277b6804f061 (patch) | |
tree | a423ef967d835ff2af929f5912a7c4b66f96166e /lib | |
parent | 481553b2243951dec23415bcc7f962c2af58bbc2 (diff) | |
download | ruby-25cea1443f8636cdd7a4abf0f2c8277b6804f061.tar.gz ruby-25cea1443f8636cdd7a4abf0f2c8277b6804f061.tar.xz ruby-25cea1443f8636cdd7a4abf0f2c8277b6804f061.zip |
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cgi.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb index ed8a91d35..f85009513 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -828,7 +828,7 @@ convert string charset, and set language to "ja". eval <<-END def body.original_filename #{ - filename = (Regexp::last_match[1] or "").dup + filename = ($1 or "").dup if (/Mac/ni === env_table['HTTP_USER_AGENT']) and (/Mozilla/ni === env_table['HTTP_USER_AGENT']) and (not /MSIE/ni === env_table['HTTP_USER_AGENT']) |