From c9d697ab7842e5672579cfb0e9bd0594ff95fe19 Mon Sep 17 00:00:00 2001 From: yugui Date: Thu, 23 Dec 2010 10:49:00 +0000 Subject: merges r29976 from trunk into ruby_1_9_2. -- * lib/uri/common.rb (URI::WFKV_): get rid of backtrack explosion by nested repeat operators. [ruby-core:33464] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/uri/common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/uri/common.rb b/lib/uri/common.rb index 58fd422a5d..00a543c9f2 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -801,7 +801,7 @@ module URI str end - WFKV_ = '(?:%\h\h|[^%#=;&]+)' # :nodoc: + WFKV_ = '(?:%\h\h|[^%#=;&])' # :nodoc: # Decode URL-encoded form data from given +str+. # -- cgit v1.2.3