diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/net/http.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Oct 16 06:39:32 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> + + * lib/net/http.rb: hex-alpha is not [a-h] but [a-f]. + Sat Oct 14 03:32:13 2000 Yukihiro Matsumoto <matz@ruby-lang.org> * eval.c (rb_thread_alloc): should not link a new thread in the diff --git a/lib/net/http.rb b/lib/net/http.rb index 4e96963da6..bf6cf981e4 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -851,7 +851,7 @@ SRC while true do line = @socket.readline - m = /[0-9a-hA-H]+/.match( line ) + m = /[0-9a-fA-F]+/.match( line ) unless m then raise HTTPBadResponse, "wrong chunk size line: #{line}" end |