Skip to content

Commit

Permalink
Remove username and pwd from parameter
Browse files Browse the repository at this point in the history
Signed-off-by: crazyhzm <[email protected]>
  • Loading branch information
CrazyHZM committed Jan 11, 2024
1 parent ca0aecd commit 7eca76d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,12 @@ private static URL parseURLBody(String fullURLStr, String decodedBody, Map<Strin
}
if (username == null && parameters != null && StringUtils.isNotEmpty(parameters.get(USERNAME_KEY))) {
username = parameters.get(USERNAME_KEY);
parameters.remove(USERNAME_KEY);
}

if (password == null && parameters != null && StringUtils.isNotEmpty(parameters.get(PASSWORD_KEY))) {
password = parameters.get(PASSWORD_KEY);
parameters.remove(PASSWORD_KEY);
}

String host = null;
Expand Down

0 comments on commit 7eca76d

Please sign in to comment.