Skip to content

Commit

Permalink
Merge pull request #6910 from kayathiri4/fix-username
Browse files Browse the repository at this point in the history
Fix username with special characters by removing escape characters
  • Loading branch information
kayathiri4 authored Sep 24, 2024
2 parents 3ab3376 + efebac1 commit 8c42b77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/little-snails-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/identity-apps-core": patch
---

Fix username with special characters by removing escape characters
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@

<%
String username = IdentityManagementEndpointUtil.getStringValue(request.getAttribute("username"));
if (StringUtils.isNotBlank(username)) {
username = StringEscapeUtils.unescapeJava(username);
}
RetryError errorResponse = (RetryError) request.getAttribute("errorResponse");
if (errorResponse != null) {
Expand Down

0 comments on commit 8c42b77

Please sign in to comment.