Permalink
Browse files

fixes #246. Silence the warning about redefining this constant from …

…the standard library.
  • Loading branch information...
benhamill committed Oct 4, 2011
1 parent cf140e3 commit 235f83cb88650beaa7fd0089ee0d19ca46507fc0
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 235f83c

Please sign in to comment.