diff options
| -rw-r--r-- | lib/uri/common.rb | 2 | ||||
| -rw-r--r-- | version.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb index 8b9e1e3695..f23fe98d4f 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -984,7 +984,7 @@ module URI # See URI.decode_www_form_component, URI.encode_www_form def self.decode_www_form(str, enc=Encoding::UTF_8) return [] if str.empty? - unless /\A#{WFKV_}*=#{WFKV_}*(?:[;&]#{WFKV_}*=#{WFKV_}*)*\z/o =~ str + unless /\A#{WFKV_}=#{WFKV_}(?:[;&]#{WFKV_}=#{WFKV_})*\z/o =~ str raise ArgumentError, "invalid data of application/x-www-form-urlencoded (#{str})" end ary = [] @@ -1,10 +1,10 @@ #define RUBY_VERSION "1.9.3" #define RUBY_PATCHLEVEL -1 -#define RUBY_RELEASE_DATE "2011-07-22" +#define RUBY_RELEASE_DATE "2011-07-23" #define RUBY_RELEASE_YEAR 2011 #define RUBY_RELEASE_MONTH 7 -#define RUBY_RELEASE_DAY 22 +#define RUBY_RELEASE_DAY 23 #include "ruby/version.h" |
