[#37248] [Feature:1.9] Enumerator#inspect — "Yusuke ENDOH" <mame@...>

遠藤です。

12 messages 2008/12/02

[#37337] [Feature #841] Object#self — "rubikitch ." <redmine@...>

Feature #841: Object#self

13 messages 2008/12/09

[#37513] Current status of 1.9.1 RC1's issues — "Yugui (Yuki Sonoda)" <yugui@...>

Hi, folks

14 messages 2008/12/20
[#37516] Re: Current status of 1.9.1 RC1's issues — Masatoshi SEKI <m_seki@...> 2008/12/20

咳といいます。

[#37576] [BUG:trunk] encoding for stdio's — "Yugui (Yuki Sonoda)" <yugui@...>

Yuguiです。

11 messages 2008/12/24

[ruby-dev:37506] cgi.rbの先頭のboundary読み込み

From: "NAKAMURA, Hiroshi" <nahi@...>
Date: 2008-12-19 15:53:43 UTC
List: ruby-dev #37506
http://rubyforge.org/projects/multipart/ =1B$B$G!"=1B(BRuby=1B$B$G:n$C$?=1B=
(BCGI=1B$B$K%U%!%$%k$r=1B(B
=1B$B%"%C%W%m!<%I$7$h$&$H$7$F!J<:GT$7$F!K5$IU$$$?$N$G$9$,!"=1B(Bcgi.rb=1B=
$B$N@hF,$N=1B(B
boundary=1B$B$^$G$NFI$_9~$_$,=1B(Bstrict=1B$B2a$.$?$j$7$J$$$G$7$g$&$+!#=1B=
(B

multipart=1B$B$O!"!J=3DhM}$NET9g>e$C$]$$$G$9$,!K=1B(BHTTP message body=1B=
$B$N@hF,$K2~9T$,=1B(B
=1B$B$R$H$DM>7W$K$O$$$k$N$G!"=1B(Bcgi.rb=1B$B$,$&$^$/=3DhM}$G$-$J$$$h$&$G=
$9!J=1B(Bl984=1B$B$G!"=1B(B
boundary + CRLF=1B$B$,!"=1B(Bstatus=1B$B$H9gCW$7$J$$=1B(B; status=1B$B$N@=
hF,$KM>J,$J2~9T$,$D$$$F=1B(B
=1B$B$k!K!#@hF,$NFCJL07$$$r>C$7$F!"C1=3Dc$KHFMQ$N=3DhM}$K$7$F$7$^$($P$h$5=
$=3D$&$G$9=1B(B
=1B$B$,!"$I$&$G$7$g$&$+!#=1B(B

trunk=1B$B$N$[$&$O8+$?L\<BAu$,JQ$o$C$F$^$9$,!"8+$?L\$@$1$NJQ99$C$]$$$N$G!=
"=1B(B
=1B$BF1$8JQ99$rF~$l$F$b$h$$$N$+$b=1B(B?

file=1B$B$N=1B(Bupload=1B$B$r$7$?$N$,=3Di$a$F$J$N$G!"=1B(BJava=1B$B$d=1B(=
BPHP=1B$B$G$I$&$J$C$F$$$k$+!"8_49@-=1B(B
=1B$B$O$I$&$+$J$I!"$I$J$?$+$4B8CN$G$7$?$i$4;XE&4j$$$^$9!#=1B(B

Attachments (2)

cgi_multipart.diff (988 Bytes, text/x-diff)
Index: ext/openssl/ossl_x509ext.c
===================================================================
--- ext/openssl/ossl_x509ext.c	(revision 20886)
+++ ext/openssl/ossl_x509ext.c	(working copy)
@@ -198,6 +198,7 @@
 	ossl_x509extfactory_set_subject_req(self, subject_req);
     if (!NIL_P(crl))
 	ossl_x509extfactory_set_crl(self, crl);
+    rb_iv_set(self, "@config", Qnil);
 
     return self;
 }
Index: lib/cgi.rb
===================================================================
--- lib/cgi.rb	(revision 20886)
+++ lib/cgi.rb	(working copy)
@@ -980,14 +980,6 @@
 
       # start multipart/form-data
       stdinput.binmode if defined? stdinput.binmode
-      boundary_size = boundary.size + EOL.size
-      content_length -= boundary_size
-      status = stdinput.read(boundary_size)
-      if nil == status
-        raise EOFError, "no content body"
-      elsif boundary + EOL != status
-        raise EOFError, "bad content body"
-      end
 
       loop do
         head = nil
signature.asc (486 Bytes, application/pgp-signature)

In This Thread

Prev Next