summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--ChangeLog4
-rw-r--r--lib/net/http.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 265f85a16..a057e280f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 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