Permalink
Browse files

Merge pull request #247 from benhamill/silence_constant_warning

fixes #246. Silence the warning about redefining this constant from the s
  • Loading branch information...
tenderlove committed Oct 4, 2011
2 parents cf140e3 + 235f83c commit 8c638c2ba8ed2190d8aa16821c42fffe0bc7a1a4
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/rack/backports/uri/common_192.rb
@@ -50,5 +50,6 @@ def self.decode_www_form_component(str, enc=Encoding::UTF_8)
str.gsub(/\+|%\h\h/, TBLDECWWWCOMP_).force_encoding(enc)
end
+ remove_const :WFKV_
WFKV_ = '(?:[^%#=;&]*(?:%\h\h[^%#=;&]*)*)' # :nodoc:
end

0 comments on commit 8c638c2

Please sign in to comment.