breser/git2consul

Java Properties file `+` is removed

mohammadprabowo opened this issue · 5 comments

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?

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

Escape with \+62 doesn't work also

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