Skip to content

Commit 7d65e40

Browse files
Increase SnakeYAML codepoint limit to 64MB (from default 3MB) (#73)
Co-authored-by: Stefan Seifert <stefanseifert@users.noreply.github.com>
1 parent 21d03bc commit 7d65e40

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

changes.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 https://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd">
2424
<body>
2525

26+
<release version="2.19.8" date="not released">
27+
<action type="fix" dev="trichter" issue="73">
28+
Increase SnakeYAML codepoint limit to 64MB (from default 3MB).
29+
</action>
30+
</release>
31+
2632
<release version="2.19.6" date="2023-08-31">
2733
<action type="update" dev="sseifert">
2834
Switch to latest Maven APIs to handle build output timestamp.

parent/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@
5757
<dependency>
5858
<groupId>io.wcm.devops.conga</groupId>
5959
<artifactId>io.wcm.devops.conga.generator</artifactId>
60-
<version>1.16.2</version>
60+
<version>1.16.3-SNAPSHOT</version>
6161
</dependency>
6262
<dependency>
6363
<groupId>io.wcm.devops.conga</groupId>
6464
<artifactId>conga-maven-plugin</artifactId>
65-
<version>1.16.2</version>
65+
<version>1.16.3-SNAPSHOT</version>
6666
</dependency>
6767

6868
<dependency>
@@ -74,7 +74,7 @@
7474
<dependency>
7575
<groupId>io.wcm.devops.conga.plugins</groupId>
7676
<artifactId>io.wcm.devops.conga.plugins.ansible</artifactId>
77-
<version>1.4.0</version>
77+
<version>1.4.5-SNAPSHOT</version>
7878
</dependency>
7979

8080
<dependency>

tooling/conga-aem-maven-plugin/src/main/java/io/wcm/devops/conga/plugins/aem/maven/model/YamlUtil.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
import org.slf4j.Logger;
2323
import org.slf4j.LoggerFactory;
24-
import org.yaml.snakeyaml.LoaderOptions;
2524
import org.yaml.snakeyaml.Yaml;
2625
import org.yaml.snakeyaml.constructor.Constructor;
2726

@@ -47,7 +46,7 @@ public static Yaml createYaml() {
4746
.logger(log);
4847

4948
// apply YAML plugins for modifying YAML constructor
50-
Constructor constructor = new Constructor(new LoaderOptions());
49+
Constructor constructor = new Constructor(io.wcm.devops.conga.model.util.YamlUtil.createLoaderOptions());
5150
YamlConstructorContext context = new YamlConstructorContext()
5251
.pluginContextOptions(options)
5352
.yamlConstructor(constructor);

0 commit comments

Comments
 (0)