mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-10 01:14:17 +01:00
chore(security): fixes
This commit is contained in:
1 parent
121de29d80
commit
b040aef729
11 files changed
+59
-33
No files matched your search
+3
-1
@@ -235,7 +235,9 @@ export const rewriteLinks = (): void => {
|
||||
href.startsWith('mailto:') ||
|
||||
href.startsWith('tel:') ||
|
||||
href.startsWith('#') ||
|
||||
href.startsWith('javascript:')
|
||||
href.startsWith('javascript:') ||
|
||||
href.startsWith('data:') ||
|
||||
href.startsWith('vbscript:')
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user