Skip to content

Commit bbf8553

Browse files
authored
Merge pull request #6279 from thc202/automation/default-csa
automation: correct default value for client auth
2 parents bdf2d49 + 6bdd972 commit bbf8553

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

addOns/automation/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1010
### Changed
1111
- Progress and log messages with regard to setting scan rule threshold or strength no longer include commas in scan rule ID numbers.
1212

13+
### Fixed
14+
- Address exception when loading Client Script authentication method.
15+
1316
## [0.48.0] - 2025-03-04
1417
### Changed
1518
- Allow to use variables for the TOTP data.

addOns/automation/src/main/java/org/zaproxy/addon/automation/AuthenticationData.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ public void initContextAuthentication(
452452
JobUtils.setPrivateField(
453453
clientScriptMethod,
454454
"diagnostics",
455-
parameters.getOrDefault(PARAM_DIAGNOSTICS, "false"));
455+
parameters.getOrDefault(PARAM_DIAGNOSTICS, false));
456456

457457
try {
458458
MethodUtils.invokeMethod(clientScriptMethod, "loadScript", sw);

0 commit comments

Comments
 (0)