spring-cloud / spring-cloud-config

External configuration (server and client) for Spring Cloud
Apache License 2.0
1.97k stars 1.29k forks source link

how to serving pure plain-text with special word? #1401

Closed githubyong closed 5 years ago

githubyong commented 5 years ago

version Finchley.RELEASE,when serving plain-text file like this:

${mt:WAIT,0275}   name:${psi:WAIT,0181}

it result that:

WAIT,0275  name:WAIT,0181

the words "${mt:" lost,is there have some config to prevent springcloudconfig transfering file ?

spencergibb commented 5 years ago

Config server resolves placeholders. You'll need to escape them.