Typo? in CGI#read_multipart


#1

e$B$3$s$P$s$O!":XF#$H?=$7$^$9!#e(B

CGIe$B%i%$%V%i%j$N;EMM$rD4$Y$F$$$?$i!"e(B[ruby-list:38714]e$B$K$^$G$?$I$jCe$$$Fe(B
typoe$B$i$7$-$b$N$r8+$D$1$^$7$?!#<B32$O$^$C$?$/$J$$$H;W$&$N$G$9$,!"e(B(e$BK\Ev$Ke(B)
e$B$$$A$*$&Ej9F$5$;$F$$$?$@$-$^$9!#e(Btrunke$B!"e(B1.8e$B%V%i%s%A6&$KF1MM$G$9!#e(B

Index: lib/cgi.rb

— lib/cgi.rb (revision 11552)
+++ lib/cgi.rb (working copy)
@@ -1061,7 +1061,7 @@
params[name] = [body]
end
break if buf.size == 0

  •    break if content_length === -1
    
  •    break if content_length == -1
     end
     raise EOFError, "bad boundary end of body part" unless
    

boundary_end=~/–/

e$B$h$m$7$/$*4j$$$7$^$9!#e(B


#2

At Tue, 23 Jan 2007 17:59:16 +0900,
Tadashi S. wrote:

CGIe$B%i%$%V%i%j$N;EMM$rD4$Y$F$$$?$i!"e(B[ruby-list:38714]e$B$K$^$G$?$I$jCe$$$Fe(B
typoe$B$i$7$-$b$N$r8+$D$1$^$7$?!#<B32$O$^$C$?$/$J$$$H;W$&$N$G$9$,!"e(B(e$BK\Ev$Ke(B)
e$B$$$A$*$&Ej9F$5$;$F$$$?$@$-$^$9!#e(Btrunke$B!"e(B1.8e$B%V%i%s%A6&$KF1MM$G$9!#e(B

e$B!!Js9p$,$"$j$^$;$s$,!"$3$N=$@5$O<h$j9~$^$l$^$7$?!#e(B
e$B$"$j$,$H$&$4$6$$$^$9!#e(B


/
/__ __ Akinori.org / MUSHA.org
/ ) ) ) ) / FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp

“Different eyes see different things,
Different hearts beat on different strings –
But there are times for you and me when all such things agree”