[JDL/枚举]: 使用特殊字符时的解析问题 / 导出时缺少引号 / 使用枚举进行 JDL 注入
作者: nitram84创建于 2025年10月18日更新于 2026年9月11日
标签area: triagetheme: undefined
Overview of the issue
Summary: There are several issues with the jdl query parser, the way enum values are stored internally and on export
- Enums like
QUOTES("\"")orCOMMA_SPACE (", "), both correctly escaped and quoted, can't be imported - Enums with special chars won't be exported correctly. Jhipster export jdl generated no quotes for special characters.
- Even JDL-injection with enums is possible causes by the way how enum values are stored internally.
Examples and steps to reproduce:
Example 1: Missing quotes on export and Enum injection
内容来源: jhipster/generator-jhipster