Skip to content
Browse files

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

…he standard library.
  • Loading branch information...
1 parent cf140e3 commit 235f83cb88650beaa7fd0089ee0d19ca46507fc0 @benhamill benhamill committed Oct 3, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/rack/backports/uri/common_192.rb
View
1 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.
Something went wrong with that request. Please try again.