Skip to content

Backslash is escaped in yaml when preceding ${prop} since SB 3.4.0 #44699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
neoludo opened this issue Mar 12, 2025 · 1 comment
Closed

Backslash is escaped in yaml when preceding ${prop} since SB 3.4.0 #44699

neoludo opened this issue Mar 12, 2025 · 1 comment
Labels
for: external-project For an external project and not something we can fix status: duplicate A duplicate of another issue

Comments

@neoludo
Copy link

neoludo commented Mar 12, 2025

considering following application.yaml
plic: ploc
myValue: XXX\${plic}

and a field annotated with :
@value("${myvalue}")

Interpreted value is XXX\ploc in 3.3.x and before
Interpreted value is XXXploc since 3.4.0

Is this a known issue, or documented behaviour change ?

Thanks in advance
Ludovic

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 12, 2025
@wilkinsona
Copy link
Member

This processing of properties is handled by Spring Framework. Your issue is very similar to spring-projects/spring-framework#34315 and be a duplicate of it. If that's not the case, please open a new Spring Framework issue.

@wilkinsona wilkinsona added status: duplicate A duplicate of another issue for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants