Skip to content

Commit

Permalink
Document that KiwiUrls#toQueryString does not perform encoding (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleberknight authored Oct 25, 2021
1 parent 16d9f87 commit 6570b43
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/java/org/kiwiproject/net/KiwiUrls.java
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,11 @@ public static Map<String, String> 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 '&amp;' 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 '&amp;'
* character.
* <p>
* Note specifically that this method does <strong>not</strong> URL encode the parameters.
*
* @param parameters the map of the parameters to create the query string from
* @return a concatenated query string
Expand Down

0 comments on commit 6570b43

Please sign in to comment.