Skip to content

yaml: Use a safe constructor by default - #206

Open
TheElectronWill wants to merge 1 commit into
masterfrom
yaml/safer-constructor
Open

yaml: Use a safe constructor by default#206
TheElectronWill wants to merge 1 commit into
masterfrom
yaml/safer-constructor

Conversation

@TheElectronWill

Copy link
Copy Markdown
Owner

This might break deserialization of custom classes and enums for users who relied on the permissiveness of the default YamlFormat. The preferred way is now to configure SnakeYaml properly and use YamlFormat.configuredInstance.

Deserializing arbitrary YAML tags is a security risk.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant