-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix trailing comment parse in properties (#2371)
- Loading branch information
Showing
6 changed files
with
62 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"id": "db2095be-6831-4e47-882d-4a8881cc72ff", | ||
"type": "bugfix", | ||
"description": "Fix recognition of trailing comments in shared config properties. # or ; separators that aren't preceded by whitespace at the end of a property value should be considered part of it.", | ||
"modules": [ | ||
"internal/ini" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[profile comments];comment | ||
a = foo#notcomment | ||
b = foo;notcomment | ||
c = foo# | ||
d = foo; | ||
e = foo bar # comment | ||
f = foo bar ; comment | ||
g = foo # comment | ||
h = foo ; comment | ||
i = # comment | ||
j = ; comment | ||
k = foo # ; comment | ||
l = foo ; # comment | ||
m = foo | ||
n = foo # | ||
o = foo ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"profile comments": { | ||
"a": "foo#notcomment", | ||
"b": "foo;notcomment", | ||
"c": "foo#", | ||
"d": "foo;", | ||
"e": "foo bar", | ||
"f": "foo \t bar", | ||
"g": "foo", | ||
"h": "foo", | ||
"i": "", | ||
"j": "", | ||
"k": "foo", | ||
"l": "foo", | ||
"m": "foo", | ||
"n": "foo", | ||
"o": "foo" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters