javascript-obfuscator / javascript-obfuscator/webpack-obfuscator
DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
- Dominant language
- TypeScript
- Stars
- 928
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Description
_0xd781['base64DecodeUnicode'] = function(_0x1e15cf) {
var _0x143344 = atob(_0x1e15cf);此行报错:
DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
版本:webpack-obfuscator0.10.0
有一定的几率编译后,打开页面出现此错误
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the intermittent failure with webpack-obfuscator 0.10.0 and inspect the generated base64DecodeUnicode function where atob is called. Done means identifying why the compiled page sometimes receives an incorrectly encoded string and confirming that the generated page no longer throws this DOMException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100