René's URL Explorer Experiment


Title: URI malformed with Base64 string-array encoding and surrogate-range literal · Issue #1431 · javascript-obfuscator/javascript-obfuscator · GitHub

Open Graph Title: URI malformed with Base64 string-array encoding and surrogate-range literal · Issue #1431 · javascript-obfuscator/javascript-obfuscator

X Title: URI malformed with Base64 string-array encoding and surrogate-range literal · Issue #1431 · javascript-obfuscator/javascript-obfuscator

Description: Expected Behavior Obfuscation completes for valid JavaScript that contains a string literal with surrogate code units used in a regex range. Current Behavior Base64 string-array encoding throws URIError: URI malformed. This reproduces in...

Open Graph Description: Expected Behavior Obfuscation completes for valid JavaScript that contains a string literal with surrogate code units used in a regex range. Current Behavior Base64 string-array encoding throws URI...

X Description: Expected Behavior Obfuscation completes for valid JavaScript that contains a string literal with surrogate code units used in a regex range. Current Behavior Base64 string-array encoding throws URI...

Opengraph URL: https://github.com/javascript-obfuscator/javascript-obfuscator/issues/1431

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"URI malformed with Base64 string-array encoding and surrogate-range literal","articleBody":"## Expected Behavior\nObfuscation completes for valid JavaScript that contains a string literal with surrogate code units used in a regex range.\n\n## Current Behavior\nBase64 string-array encoding throws `URIError: URI malformed`. This reproduces in v5.4.1 and appears related to the previously fixed [#530](https://github.com/javascript-obfuscator/javascript-obfuscator/issues/530).\n\n## Steps to Reproduce\n1. Install `javascript-obfuscator@5.4.1`.\n2. Run the minimal example below.\n\n## JavaScript Obfuscator Edition\n- JavaScript Obfuscator Open Source\n\n## Your Environment\n* Obfuscator version used: 5.4.1\n* Node version used: v23.7.0\n\n# Stack trace\n```\nURIError: URI malformed\n    at encodeURIComponent (\u003canonymous\u003e)\n```\n\n## Minimal working example that will help to reproduce issue\n```js\nconst JavaScriptObfuscator = require(\"javascript-obfuscator\");\n\nJavaScriptObfuscator.obfuscate(\n  String.raw`const controlSymbolRegexString = \"\\\\\\\\[^\\uD800-\\uDFFF]\";`,\n  {\n    stringArray: true,\n    stringArrayEncoding: [\"base64\"],\n    stringArrayThreshold: 1,\n    splitStrings: true,\n    splitStringsChunkLength: 5,\n    seed: 1,\n  },\n);\n```","author":{"url":"https://github.com/JasonHZS","@type":"Person","name":"JasonHZS"},"datePublished":"2026-07-10T06:16:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1431/javascript-obfuscator/issues/1431"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8564829d-820c-9a44-d9bc-e0628b01a051
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD050:112899:3224D24:337AC44:6A632720
html-safe-nonce7c1b2f603551d9a0067a3c61e1c5a1920ee6a7b3f7f87e684aede2c40aeeebb8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDUwOjExMjg5OTozMjI0RDI0OjMzN0FDNDQ6NkE2MzI3MjAiLCJ2aXNpdG9yX2lkIjoiODY3NDc2Njk1ODE1OTQwNjg4MCIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9
visitor-hmac68652d296f8573a22f7fab3379cfcffbac06fd8696cbd21209dd0319f71871ef
hovercard-subject-tagissue:4852572667
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/javascript-obfuscator/javascript-obfuscator/1431/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b3568d0e1320d32b86ce5d306fa7bba4ded9b53b0c35f4baa21f89f9d62a509e/javascript-obfuscator/javascript-obfuscator/issues/1431
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b3568d0e1320d32b86ce5d306fa7bba4ded9b53b0c35f4baa21f89f9d62a509e/javascript-obfuscator/javascript-obfuscator/issues/1431
og:image:altExpected Behavior Obfuscation completes for valid JavaScript that contains a string literal with surrogate code units used in a regex range. Current Behavior Base64 string-array encoding throws URI...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJasonHZS
hostnamegithub.com
expected-hostnamegithub.com
None1a6c056e02f174fffc096c521ec0ff6fb83e40a2ec8cb8875466ec1524872dd6
turbo-cache-controlno-preview
go-importgithub.com/javascript-obfuscator/javascript-obfuscator git https://github.com/javascript-obfuscator/javascript-obfuscator.git
octolytics-dimension-user_id23015672
octolytics-dimension-user_loginjavascript-obfuscator
octolytics-dimension-repository_id58360147
octolytics-dimension-repository_nwojavascript-obfuscator/javascript-obfuscator
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id58360147
octolytics-dimension-repository_network_root_nwojavascript-obfuscator/javascript-obfuscator
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6a93e25585f487ddff9e3996c06d5b869d6e1828
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/javascript-obfuscator/javascript-obfuscator/issues/1431#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-obfuscator%2Fjavascript-obfuscator%2Fissues%2F1431
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-obfuscator%2Fjavascript-obfuscator%2Fissues%2F1431
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=javascript-obfuscator%2Fjavascript-obfuscator
Reloadhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues/1431
Reloadhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues/1431
Reloadhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues/1431
Please reload this pagehttps://github.com/javascript-obfuscator/javascript-obfuscator/issues/1431
javascript-obfuscator https://github.com/javascript-obfuscator
javascript-obfuscatorhttps://github.com/javascript-obfuscator/javascript-obfuscator
Please reload this pagehttps://github.com/javascript-obfuscator/javascript-obfuscator/issues/1431
Notifications https://github.com/login?return_to=%2Fjavascript-obfuscator%2Fjavascript-obfuscator
Fork 1.7k https://github.com/login?return_to=%2Fjavascript-obfuscator%2Fjavascript-obfuscator
Star 16.2k https://github.com/login?return_to=%2Fjavascript-obfuscator%2Fjavascript-obfuscator
Code https://github.com/javascript-obfuscator/javascript-obfuscator
Issues 15 https://github.com/javascript-obfuscator/javascript-obfuscator/issues
Pull requests 5 https://github.com/javascript-obfuscator/javascript-obfuscator/pulls
Discussions https://github.com/javascript-obfuscator/javascript-obfuscator/discussions
Actions https://github.com/javascript-obfuscator/javascript-obfuscator/actions
Projects https://github.com/javascript-obfuscator/javascript-obfuscator/projects
Security and quality 0 https://github.com/javascript-obfuscator/javascript-obfuscator/security
Insights https://github.com/javascript-obfuscator/javascript-obfuscator/pulse
Code https://github.com/javascript-obfuscator/javascript-obfuscator
Issues https://github.com/javascript-obfuscator/javascript-obfuscator/issues
Pull requests https://github.com/javascript-obfuscator/javascript-obfuscator/pulls
Discussions https://github.com/javascript-obfuscator/javascript-obfuscator/discussions
Actions https://github.com/javascript-obfuscator/javascript-obfuscator/actions
Projects https://github.com/javascript-obfuscator/javascript-obfuscator/projects
Security and quality https://github.com/javascript-obfuscator/javascript-obfuscator/security
Insights https://github.com/javascript-obfuscator/javascript-obfuscator/pulse
#1432https://github.com/javascript-obfuscator/javascript-obfuscator/pull/1432
URI malformed with Base64 string-array encoding and surrogate-range literalhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues/1431#top
#1432https://github.com/javascript-obfuscator/javascript-obfuscator/pull/1432
bughttps://github.com/javascript-obfuscator/javascript-obfuscator/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/JasonHZS
JasonHZShttps://github.com/JasonHZS
on Jul 10, 2026https://github.com/javascript-obfuscator/javascript-obfuscator/issues/1431#issue-4852572667
#530https://github.com/javascript-obfuscator/javascript-obfuscator/issues/530
bughttps://github.com/javascript-obfuscator/javascript-obfuscator/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.