lib/contrast/agent/reporting/masker/masker_utils.rb in contrast-agent-7.2.0 vs lib/contrast/agent/reporting/masker/masker_utils.rb in contrast-agent-7.3.0
- old
+ new
@@ -21,10 +21,10 @@
def mask_raw_query query, results
masked = EMPTY_STRING
hash = URI.decode_www_form(query).to_h
mask_with_dictionary(results, hash)
# Restore to string form.
- hash.each { |k, v| masked += "#{ k }=#{ v }&" }
+ hash.each { |k, v| masked += "#{ k }#{ EQUALS }#{ v }#{ AMPERSAND }" }
query = masked
query.chomp!(masked[-1])
end
end
end