diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-29 13:55:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-29 13:55:27 +0000 |
commit | 839ee606876c71d6ca2fadf13ee4d0dbfebbf25c (patch) | |
tree | 011b86c0b8ba942688fb98a34735c4dced7c7ff6 /lib/uri | |
parent | f0a2b08b4461f9c6add51738679ec8e06e3e0fae (diff) |
* 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/trunk@29976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri')
-rw-r--r-- | lib/uri/common.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb index e6f189bdbe..8cd2f2b069 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -807,7 +807,7 @@ module URI end.join('&') end - WFKV_ = '(?:%\h\h|[^%#=;&]+)' # :nodoc: + WFKV_ = '(?:%\h\h|[^%#=;&])' # :nodoc: # Decode URL-encoded form data from given +str+. # |