diff --git a/ChangeLog b/ChangeLog index 265f85a164..a057e280fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Oct 16 06:39:32 2000 Minero Aoki + + * lib/net/http.rb: hex-alpha is not [a-h] but [a-f]. + Sat Oct 14 03:32:13 2000 Yukihiro Matsumoto * 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