diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-10-15 21:37:30 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-10-15 21:37:30 +0000 |
commit | de75f3c0a6f0cb73f1b2c9572af8edda4eb25658 (patch) | |
tree | a246e835893a67090e1fcce10a820275ad35b2b1 | |
parent | 368683723e6c4a63b91b39b81da69409a824a837 (diff) | |
download | ruby-de75f3c0a6f0cb73f1b2c9572af8edda4eb25658.tar.gz |
aamine
* lib/net/http.rb: hex-alpha is not [a-h] but [a-f].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 |