Skip to content

Commit 409466a

Browse files
AXIS2-6057 Special characters are not allowed in password after upgrade( from 1.7.9 to 1.8.2)
1 parent f644974 commit 409466a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

modules/webapp/src/main/java/org/apache/axis2/webapp/AdminActions.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,6 @@ public Redirect login(HttpServletRequest req) {
214214
return new Redirect(WELCOME).withParameter("failed", "true");
215215
}
216216

217-
if (password != null && !password.matches(HTTP_PARAM_VALUE_REGEX_WHITELIST_CHARS)) {
218-
log.error("login() received invalid 'password' param, redirecting to: " + WELCOME);
219-
return new Redirect(WELCOME).withParameter("failed", "true");
220-
}
221-
222217
if ((username == null) || (password == null) || username.trim().length() == 0
223218
|| password.trim().length() == 0) {
224219
return new Redirect(WELCOME).withParameter("failed", "true");

0 commit comments

Comments
 (0)