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 /lib | |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |