Skip to content

Commit

Permalink
logging utils sanitize method replacing to space instead of to
Browse files Browse the repository at this point in the history
underscore
  • Loading branch information
SrdjanStevanetic committed Apr 16, 2024
1 parent 107e236 commit 48c1463
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ private LoggingUtils() {}
* @return input in which newlines are replaces by underscore
*/
public static String sanitizeUserInput(String input) {
return input.replaceAll("[\n\r]", "_");
return input.replaceAll("[\n\r]", " ");
}
}

0 comments on commit 48c1463

Please sign in to comment.