Skip to content

Commit 908198b

Browse files
Merge remote-tracking branch 'origin/develop' into develop
2 parents 7baf6ac + 85f2be3 commit 908198b

1 file changed

Lines changed: 29 additions & 3 deletions

File tree

src/Hyperbee.Resources/ResourceHelper.cs

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,35 @@ public static string GetResourceName( IResourceLocator locator, string name )
5252
private static readonly char[] InvalidChars =
5353
[
5454
' ',
55-
'\u00A0' /* non-breaking space */, ',', ';', '|', '~', '@',
56-
'#', '%', '^', '&', '*', '+', '-', '/', '\\', '<', '>', '?', '[',
57-
']', '(', ')', '{', '}', '\"', '\'', '!', '`', '='
55+
'\u00A0' /* non-breaking space */,
56+
',',
57+
';',
58+
'|',
59+
'~',
60+
'@',
61+
'#',
62+
'%',
63+
'^',
64+
'&',
65+
'*',
66+
'+',
67+
'-',
68+
'/',
69+
'\\',
70+
'<',
71+
'>',
72+
'?',
73+
'[',
74+
']',
75+
'(',
76+
')',
77+
'{',
78+
'}',
79+
'\"',
80+
'\'',
81+
'!',
82+
'`',
83+
'='
5884
];
5985

6086
private static string SanitizeName( ReadOnlySpan<char> name )

0 commit comments

Comments
 (0)