Skip to content
This repository was archived by the owner on Jan 14, 2022. It is now read-only.

Commit b965941

Browse files
authored
Merge pull request #53 from southworkscom/fix/short_name-sanitization
Add the blank space to the short_name regex sanitization
2 parents e148f6f + 876d5bb commit b965941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function sanitizeName (name) {
4444
var sanitizedName = name;
4545

4646
// Remove all invalid characters
47-
sanitizedName = sanitizedName.replace(/[^A-Za-z0-9\.]/g, '');
47+
sanitizedName = sanitizedName.replace(/[^A-Za-z0-9" "\.]/g, '');
4848

4949
var currentLength;
5050
do {

0 commit comments

Comments
 (0)