mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
12 lines
376 B
Diff
12 lines
376 B
Diff
|
--- services/web/app/src/Features/Compile/CompileController.js
|
||
|
+++ services/web/app/src/Features/Compile/CompileController.js
|
||
|
@@ -371,7 +371,7 @@ module.exports = CompileController = {
|
||
|
},
|
||
|
|
||
|
_getSafeProjectName(project) {
|
||
|
- return project.name.replace(/\P{L}/gu, '_')
|
||
|
+ return project.name.replace(/[^\p{L}\p{Nd}]/gu, '_')
|
||
|
},
|
||
|
|
||
|
deleteAuxFiles(req, res, next) {
|