File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,3 +14,10 @@ function test__parse_config_extra_spaces {
1414 if ($result [" id" ] -ne " test_min" ) { return 1 }
1515 return 0
1616}
17+
18+ function test__parse_config_preserve_case {
19+ $result = _parse_config - KeyValues " signing_algorithm=PKCS1v15-SHA224 encryption_algorithm=OAEP-SHA224"
20+ if ($result [" signing_algorithm" ] -cne " PKCS1v15-SHA224" ) { return 1 }
21+ if ($result [" encryption_algorithm" ] -cne " OAEP-SHA224" ) { return 1 }
22+ return 0
23+ }
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ if ($help) {
287287}
288288
289289# This value is populated via CICD during build
290- $SCRIPT_VERSION = " 2025.12.12 "
290+ $SCRIPT_VERSION = " SCRIPT_VERSION_REPLACE "
291291if ($Version ) {
292292 Write-Host $SCRIPT_VERSION
293293 exit 0
@@ -1129,7 +1129,7 @@ function _parse_config {
11291129 Write-Log " Found config: $key_value " - Level debug
11301130 $key , $value = $key_value -split " ="
11311131 if ($value ) {
1132- $config_options [$key.ToLower () ] = $value.ToLower ()
1132+ $config_options [$key ] = $value
11331133 } else {
11341134 Write-Log " No config value specified: $key_value " - Level warning
11351135 }
You can’t perform that action at this time.
0 commit comments