fix: codeScanning vuln
This commit is contained in:
parent
4710f67baf
commit
cd4b1ea245
|
@ -116,8 +116,9 @@ const getUrl = (useAbsolute: boolean): string => {
|
|||
window.location.host +
|
||||
window.location.pathname +
|
||||
window.location.search;
|
||||
url = url.replace(/\(/g, '\\(');
|
||||
url = url.replace(/\)/g, '\\)');
|
||||
// TODO Q: Why is this necessary?
|
||||
url = url.replaceAll(/\(/g, '\\(');
|
||||
url = url.replaceAll(/\)/g, '\\)');
|
||||
}
|
||||
|
||||
return url;
|
||||
|
|
Loading…
Reference in New Issue