mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Back out the previous commit which was unintended.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
179eb27889
commit
dee43eec07
1 changed files with 2 additions and 2 deletions
|
@ -1037,8 +1037,8 @@ class CGI
|
|||
|
||||
body.rewind
|
||||
|
||||
/Content-Disposition:.* filename=(?:"((?:\\.|[^\"])*)"|([^;]*))/ni.match(head)
|
||||
filename = ($1 or $2 or "")
|
||||
/Content-Disposition:.* filename="?([^\";]*)"?/ni.match(head)
|
||||
filename = ($1 or "")
|
||||
if /Mac/ni.match(env_table['HTTP_USER_AGENT']) and
|
||||
/Mozilla/ni.match(env_table['HTTP_USER_AGENT']) and
|
||||
(not /MSIE/ni.match(env_table['HTTP_USER_AGENT']))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue