From 6570b43f0b6fdaa74815eb77a1162e85d695367a Mon Sep 17 00:00:00 2001 From: Scott Leberknight <174812+sleberknight@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:52:34 -0400 Subject: [PATCH] Document that KiwiUrls#toQueryString does not perform encoding (#616) --- src/main/java/org/kiwiproject/net/KiwiUrls.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/kiwiproject/net/KiwiUrls.java b/src/main/java/org/kiwiproject/net/KiwiUrls.java index 7b7b43d7..6da93d3e 100644 --- a/src/main/java/org/kiwiproject/net/KiwiUrls.java +++ b/src/main/java/org/kiwiproject/net/KiwiUrls.java @@ -592,8 +592,11 @@ public static Map queryStringToMap(String queryString) { } /** - * Converts a Map of String of Strings into one (potentially long) string of key/value parameters (each key/value - * parameter is separated by an '=' character), with each parameter pair separated by an '&' character. + * Converts a Map containing String keys and values into one (potentially long) string of key/value parameters + * (each key/value parameter is separated by an '=' character), with each parameter pair separated by an '&' + * character. + *

+ * Note specifically that this method does not URL encode the parameters. * * @param parameters the map of the parameters to create the query string from * @return a concatenated query string