Revision
5251
Author
watson1978@gmail.com
Date
2011-03-04 03:55:41 -0800 (Fri, 04 Mar 2011)

Log Message

URI::WFKV_: get rid of backtrack explosion by nested repeat operators. Merged frome CRuby 1.9 r30306.
see https://github.com/ruby/ruby/commit/c9d697ab7842e5672579cfb0e9bd0594ff95fe19

Modified Paths

Diff

Modified: MacRuby/trunk/lib/uri/common.rb (5250 => 5251)


--- MacRuby/trunk/lib/uri/common.rb	2011-03-04 07:40:56 UTC (rev 5250)
+++ MacRuby/trunk/lib/uri/common.rb	2011-03-04 11:55:41 UTC (rev 5251)
@@ -801,7 +801,7 @@
     str
   end
 
-  WFKV_ = '(?:%\h\h|[^%#=;&]+)' # :nodoc:
+  WFKV_ = '(?:%\h\h|[^%#=;&])' # :nodoc:
 
   # Decode URL-encoded form data from given +str+.
   #