Skip to content

Commit

Permalink
Increase SnakeYAML codepoint limit to 64MB (from default 3MB)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-richter committed Oct 18, 2023
1 parent 21d03bc commit 5445afb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 https://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd">
<body>

<release version="2.19.8" date="not released">
<action type="fix" dev="trichter">
Increase SnakeYAML codepoint limit to 64MB (from default 3MB).
</action>
</release>

<release version="2.19.6" date="2023-08-31">
<action type="update" dev="sseifert">
Switch to latest Maven APIs to handle build output timestamp.
Expand Down
6 changes: 3 additions & 3 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
<dependency>
<groupId>io.wcm.devops.conga</groupId>
<artifactId>io.wcm.devops.conga.generator</artifactId>
<version>1.16.2</version>
<version>1.16.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.wcm.devops.conga</groupId>
<artifactId>conga-maven-plugin</artifactId>
<version>1.16.2</version>
<version>1.16.3-SNAPSHOT</version>
</dependency>

<dependency>
Expand All @@ -74,7 +74,7 @@
<dependency>
<groupId>io.wcm.devops.conga.plugins</groupId>
<artifactId>io.wcm.devops.conga.plugins.ansible</artifactId>
<version>1.4.0</version>
<version>1.4.5-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static Yaml createYaml() {
.logger(log);

// apply YAML plugins for modifying YAML constructor
Constructor constructor = new Constructor(new LoaderOptions());
Constructor constructor = new Constructor(io.wcm.devops.conga.model.util.YamlUtil.createLoaderOptions());
YamlConstructorContext context = new YamlConstructorContext()
.pluginContextOptions(options)
.yamlConstructor(constructor);
Expand Down

0 comments on commit 5445afb

Please sign in to comment.