Spring 配置服务器加密“=”号问题

Spring Config Server encrypting issue of "=" sign

有人在通过配置服务器使用具有特殊字符的值进行加密时遇到问题吗?

目前我正在做这个

curl http://localhost:8888/configser/config/encrypt -d eF345edo=

我也参考了这个 https://github.com/spring-cloud/spring-cloud-config/issues/620 并尝试如下

curl http://localhost:8888/configser/config/encrypt --data-urlencode eF345edo=

但仍然没有成功加密 '=' 符号。

提前致谢

最后我从spring cloud config的官方文档中得到解决:(特殊字符见TIP区) http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html#_encryption_and_decryption

curl命令得到最终结果:

curl -H "Content-Type: text/plain" http://localhost:8888/configser/config/encrypt -d eF345edo=

谢谢@Bond - Java Bond

感谢大家的帮助。