You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* * Replaces the forbidden prefix ".well-known/acme-challenge/" with an underscore.
286
+
* * Replaces standalone occurrences of "." or ".." with an underscore.
287
+
*/
288
+
exportfunctionsanitizeObjectName(
289
+
inputString: string|null|undefined
290
+
): string{
291
+
if(!inputString)return'';
292
+
293
+
// Regular expressions for:
294
+
/*eslint no-useless-escape: "off"*/
295
+
constinvalidCharactersRegex=/[\r\n\u007F-\u009F#\[\]*?:"<>|/]/g;///[\r\n\u007F-\u009F#\[\]*?:"<>|]/g; // Control characters, special characters, path separator
0 commit comments