Skip to content

Commit

Permalink
Education - Filtering invalid characters when saving Docs files
Browse files Browse the repository at this point in the history
  • Loading branch information
BastianMuc committed Jan 7, 2024
1 parent 5b74c11 commit 25f140d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Platform/Client/Http-Routes/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,13 @@ exports.newDocsRoute = function newDocsRoute() {
.replace('..', '.')
.replace(',', '')
.replace('\'', '')
.replace(':', '')
.replace('|', '')
.replace('"', '')
.replace('<', '')
.replace('>', '')
.replace(';', '')
.replace('=', '')
}
return fileName
}
Expand Down

0 comments on commit 25f140d

Please sign in to comment.