This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
The following commit(s) were added to refs/heads/master by this push:
new 409466a589 AXIS2-6057 Special characters are not allowed in password
after upgrade( from 1.7.9 to 1.8.2)
409466a589 is described below
commit 409466a5891555aa0ee3a9a9718c08f83c7ec64e
Author: Robert Lazarski <[email protected]>
AuthorDate: Sun Oct 27 10:46:20 2024 -1000
AXIS2-6057 Special characters are not allowed in password after upgrade(
from 1.7.9 to 1.8.2)
---
.../webapp/src/main/java/org/apache/axis2/webapp/AdminActions.java | 5 -----
1 file changed, 5 deletions(-)
diff --git
a/modules/webapp/src/main/java/org/apache/axis2/webapp/AdminActions.java
b/modules/webapp/src/main/java/org/apache/axis2/webapp/AdminActions.java
index a7ae32cd0b..bcf8e94993 100644
--- a/modules/webapp/src/main/java/org/apache/axis2/webapp/AdminActions.java
+++ b/modules/webapp/src/main/java/org/apache/axis2/webapp/AdminActions.java
@@ -214,11 +214,6 @@ final class AdminActions {
return new Redirect(WELCOME).withParameter("failed", "true");
}
- if (password != null &&
!password.matches(HTTP_PARAM_VALUE_REGEX_WHITELIST_CHARS)) {
- log.error("login() received invalid 'password' param, redirecting
to: " + WELCOME);
- return new Redirect(WELCOME).withParameter("failed", "true");
- }
-
if ((username == null) || (password == null) ||
username.trim().length() == 0
|| password.trim().length() == 0) {
return new Redirect(WELCOME).withParameter("failed", "true");