summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-15 21:37:30 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-15 21:37:30 +0000
commit84989643d6bbf741f4a181a5849df43216f8b7f6 (patch)
treea246e835893a67090e1fcce10a820275ad35b2b1 /lib
parent2d1a82a71d08110070c72b2213963569db9d9877 (diff)
downloadruby-84989643d6bbf741f4a181a5849df43216f8b7f6.tar.gz
ruby-84989643d6bbf741f4a181a5849df43216f8b7f6.tar.xz
ruby-84989643d6bbf741f4a181a5849df43216f8b7f6.zip
aamine
* lib/net/http.rb: hex-alpha is not [a-h] but [a-f]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/net/http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 4e96963da..bf6cf981e 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