diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-10 23:32:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-10 23:32:33 +0000 |
commit | 499c4e6120a0c69a82eb8b8c367a6019d2d219f2 (patch) | |
tree | 0d51c5c8aa8355b90b895f1559f17e294bdab5a6 | |
parent | 9222f534cf0f0e91c7b7ca478f932ec25082ea14 (diff) | |
download | ruby-499c4e6120a0c69a82eb8b8c367a6019d2d219f2.tar.gz |
* regparse.c (fetch_escaped_value): mask values following \c in
regexp. fixed: [ruby-dev:26500]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | regparse.c | 2 |
2 files changed, 8 insertions, 3 deletions
@@ -1,12 +1,17 @@ +Mon Jul 11 08:31:29 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * regparse.c (fetch_escaped_value): mask values following \c in + regexp. fixed: [ruby-dev:26500] + Sun Jul 10 22:18:17 CEST 2005 Michael Neumann <mneumann@ruby-lang.org> - * lib/xmlrpc/server.rb (XMLRPC::Server): Switch from GServer over to + * lib/xmlrpc/server.rb (XMLRPC::Server): Switch from GServer over to WEBrick. This makes file lib/xmlrpc/httpserver.rb obsolete (at least it is no further used by the XML-RPC library). Mon Jul 11 02:50:23 2005 GOTOU Yuuzou <gotoyuzo@notwork.org> - * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): + * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line): mistook to merge the patch of [ruby-dev:26235] at revision 1.11. diff --git a/regparse.c b/regparse.c index 427128446c..8186bbe589 100644 --- a/regparse.c +++ b/regparse.c @@ -2361,7 +2361,7 @@ fetch_escaped_value(UChar** src, UChar* end, ScanEnv* env) if (c == MC_ESC(enc)) { v = fetch_escaped_value(&p, end, env); if (v < 0) return v; - c = (OnigCodePoint )v; + c = (OnigCodePoint )(v & 0x9f); } else if (c == '?') c = 0177; |