Skip to content

Commit

Permalink
Fixed: Get parameter uses an error method.
Browse files Browse the repository at this point in the history
This param "encrypt" is in request form body, not in request attribute.
  • Loading branch information
iarwen authored Jul 10, 2023
1 parent 4ed94b7 commit 6d72ccf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ private void saveProperty(final HttpServletRequest request, final WebManager web
final boolean oldEncrypt = JiveGlobals.isPropertyEncrypted(key);
final String oldValueToLog = oldEncrypt ? "***********" : JiveGlobals.getProperty(key);
final String value = request.getParameter("value");
final boolean encrypt = ParamUtils.getBooleanAttribute(request, "encrypt");
final boolean encrypt = ParamUtils.getBooleanParameter(request, "encrypt");
final boolean alreadyExists = JiveGlobals.getProperty(key) != null;
JiveGlobals.setProperty(key, value, encrypt);
request.getSession().setAttribute("successMessage",
Expand Down

0 comments on commit 6d72ccf

Please sign in to comment.