Skip to content

Commit

Permalink
Fixes #16384: Invalid value in class prefix when there is a double qu…
Browse files Browse the repository at this point in the history
…ote in parameter
  • Loading branch information
VinceMacBuche committed Dec 10, 2019
1 parent 2ab2814 commit ead1228
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,8 @@ class ClassicTechniqueWriter(basePath : String, parameterTypeService: ParameterT
method_info <- methods.get(method.methodId)
classParameterValue <- method.parameters.get(method_info.classParameter)

classPrefix = s"$${class_prefix}_${method_info.classPrefix}_${classParameterValue}"
escapedClassParameterValue = escapeCFEngineString(classParameterValue)
classPrefix = s"$${class_prefix}_${method_info.classPrefix}_${escapedClassParameterValue}"
promiser = s"dummy_report_${index}"
} yield {
def naReport(condition : String, message : String) = {
Expand Down

0 comments on commit ead1228

Please sign in to comment.