CodeQL issue: Incomplete string escaping or encoding #262
Unanswered
maheshshah196
asked this question in
Q&A
Replies: 1 comment
-
@maheshshah196 Can you try to replace |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've used maska library in our vue project. We've integrated CodeQL scan in our project repo.
CodeQL raised issue "Incomplete string escaping or encoding" on line
n.replaceAll(t,"").replace(s,".").replace("..",".").replace(/[^.\d]/g,"")
Issue message is This replaces only the first occurrence of "..".
Note: After building our vue project, it creates chunk-vendor.js file, which has all the library code combined. And CodeQL raised above issue on above mentioned line of code.
Beta Was this translation helpful? Give feedback.
All reactions