# File webapp/htmlform.rb, line 32
    def decode_as_application_x_www_form_urlencoded
      # xxx: warning if invalid?
      pairs = []
      @escaped_query_string.scan(/([^&;=]*)=([^&;]*)/) {|key, val|
        key.gsub!(/\+/, ' ')
        key.gsub!(/%([0-9A-F][0-9A-F])/i) { [$1].pack("H*") }
        val.gsub!(/\+/, ' ')
        val.gsub!(/%([0-9A-F][0-9A-F])/i) { [$1].pack("H*") }
        pairs << [key.freeze, val.freeze]
      }
      HTMLFormQuery.new(pairs)
    end