lib/ctf_party/cgi.rb in ctf-party-2.1.0 vs lib/ctf_party/cgi.rb in ctf-party-2.2.0
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
# Ruby standard library
require 'cgi'
+require 'uri'
class String
# URL-encode the URL string (RFC2396)
# @return [String] the URL-encoded string
# @example