breser / git2consul

Mirrors the contents of a git repository into Consul KVs.
Other
763 stars 164 forks source link

Java Properties file `+` is removed #163

Closed mohammadprabowo closed 7 years ago

mohammadprabowo commented 7 years ago

Hi. Inside .properties file, we have config like this:

defaultphonenumber=+62

When committed, and git2consul notified about the change, the consul k/v now has this value instead:

defaultphonenumber=62

Is this intended?

mohammadprabowo commented 7 years ago

If I quote it, like "+62" then it will rendered as "+62" too, which is not what I want...

mohammadprabowo commented 7 years ago

Escape with \+62 doesn't work also

mohammadprabowo commented 7 years ago

Here's list of the things that I've been trying:

+62 -> 62


"+62" -> "+62"

\+62 -> 62

\\+62 -> \+62

"+" + "62" -> "+" + "62"

\u002B62 -> 62

\\u002B62 -> \u002B62
mohammadprabowo commented 7 years ago

https://github.com/gagle/node-properties/issues/31

mohammadprabowo commented 7 years ago

Moved