# Typo? in CGI#read\_multipart

**URL:** <https://www.ruby-forum.com/t/typo-in-cgi-read-multipart/83051>\
**Category:** Development\
**Created:** [January 23, 2007, 10:00am UTC](https://www.ruby-forum.com/t/typo-in-cgi-read-multipart/83051 "2007-01-23T10:00:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sugie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@sugie](https://www.ruby-forum.com/u/sugie)\
**Post date:** [January 23, 2007, 10:00am UTC](https://www.ruby-forum.com/t/typo-in-cgi-read-multipart/83051/1 "2007-01-23T10:00:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sugie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/82dd89/32.png) [@sugie](https://www.ruby-forum.com/u/sugie)\
**Post date:** [February 10, 2007, 11:34pm UTC](https://www.ruby-forum.com/t/typo-in-cgi-read-multipart/83051/2 "2007-02-10T23:34:07Z")

</div>

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](http://Akinori.org) / [MUSHA.org](http://MUSHA.org)  
/ ) ) ) ) / [FreeBSD.org](http://FreeBSD.org) / [Ruby-lang.org](http://Ruby-lang.org)  
Akinori MUSHA aka / (\_ / ( (\_\_( @ [iDaemons.org](http://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”
