René's URL Explorer Experiment


Title: Unicode gets unescaped · Issue #345 · javascript-obfuscator/javascript-obfuscator · GitHub

Open Graph Title: Unicode gets unescaped · Issue #345 · javascript-obfuscator/javascript-obfuscator

X Title: Unicode gets unescaped · Issue #345 · javascript-obfuscator/javascript-obfuscator

Description: The obfuscator seems to unescape escaped unicode in strings. For example, consider the following input javascript: console.log("\ud83d\ude03"); console.log("😃"); Expected Behavior I expect the unicode escape sequences to be preserved. So...

Open Graph Description: The obfuscator seems to unescape escaped unicode in strings. For example, consider the following input javascript: console.log("\ud83d\ude03"); console.log("😃"); Expected Behavior I expect the unic...

X Description: The obfuscator seems to unescape escaped unicode in strings. For example, consider the following input javascript: console.log("\ud83d\ude03"); console.log("😃"); Expected Behavi...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unicode gets unescaped","articleBody":"\u003c!-- Love javascript-obfuscator? Please consider supporting our collective:\r\n👉  https://opencollective.com/javascript-obfuscator/donate --\u003e\r\n\r\n\u003c!--- Provide a general summary of the issue in the Title above --\u003e\r\n\r\nThe obfuscator seems to unescape escaped unicode in strings. For example, consider the following input javascript:\r\n\r\n```\r\nconsole.log(\"\\ud83d\\ude03\");\r\nconsole.log(\"😃\");\r\n```\r\n\r\n## Expected Behavior\r\n\u003c!--- If you're describing a bug, tell us what should happen --\u003e\r\n\u003c!--- If you're suggesting a change/improvement, tell us how it should work --\u003e\r\n\r\nI expect the unicode escape sequences to be preserved. Something like this is expected:\r\n\r\n```\r\nconsole['log']('\\ud83d\\ude03');console['log']('😃');\r\n```\r\n\r\n## Current Behavior\r\n\u003c!--- If describing a bug, tell us what happens instead of the expected behavior --\u003e\r\n\u003c!--- If suggesting a change/improvement, explain the difference from current behavior --\u003e\r\n\r\nEscaped characters are unescaped. For the code above, the default obfuscation options produce: \r\n\r\n```\r\nconsole['log']('😃');console['log']('😃');\r\n```\r\n\r\nNotice the smiley faces appear as unicode characters, that is, they are no longer escaped. Note that if the \"Escape Unicode Sequence\" option is enabled then that does not happen and instead we get:\r\n\r\n```\r\nconsole['\\x6c\\x6f\\x67']('\\ud83d\\ude03');console['\\x6c\\x6f\\x67']('\\ud83d\\ude03');\r\n```\r\n\r\nHowever, from my understanding and documentation, this option is not about unescaping unicode, it is about escaping unicode (or escaping everything in general).\r\n\r\n## Steps to Reproduce (for bugs)\r\nObfuscate the above code using default configuration on https://obfuscator.io/ .\r\n\r\n## Your Environment\r\n\u003c!--- Include as many relevant details about the environment you experienced the bug in --\u003e\r\nUsed https://obfuscator.io/ .","author":{"url":"https://github.com/piotrm0","@type":"Person","name":"piotrm0"},"datePublished":"2018-10-25T00:15:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/345/javascript-obfuscator/issues/345"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:11f1e26e-338d-d7d8-778e-1ab3e10ce40b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id82AA:2CC2E1:108C397:16AF105:6A62DD13
html-safe-nonce92e92f28982c425ef5ad2cb23ed24ec603b2f2b3f4ab0026aac0ee60406aebaa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkFBOjJDQzJFMToxMDhDMzk3OjE2QUYxMDU6NkE2MkREMTMiLCJ2aXNpdG9yX2lkIjoiNzM3Nzk3NzY1MTI5Nzk2NzM3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdec7e3ea7d88b11f7e0b8b75519711504c8b0bd8a1731d2f0fedf1c92507467d
hovercard-subject-tagissue:373724739
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/345/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c5c52b5dd653ced7ae9b948f9fa0b92a7399d43d0734e7f7517ef5c7c6678165/javascript-obfuscator/javascript-obfuscator/issues/345
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c5c52b5dd653ced7ae9b948f9fa0b92a7399d43d0734e7f7517ef5c7c6678165/javascript-obfuscator/javascript-obfuscator/issues/345
og:image:altThe obfuscator seems to unescape escaped unicode in strings. For example, consider the following input javascript: console.log("\ud83d\ude03"); console.log("😃"); Expected Behavior I expect the unic...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepiotrm0
hostnamegithub.com
expected-hostnamegithub.com
Nonedf33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd
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
released41cd1bdb290013455c0ac430fa755621733f5eb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/javascript-obfuscator/javascript-obfuscator/issues/345#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjavascript-obfuscator%2Fjavascript-obfuscator%2Fissues%2F345
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%2F345
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/345
Reloadhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues/345
Reloadhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues/345
Please reload this pagehttps://github.com/javascript-obfuscator/javascript-obfuscator/issues/345
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/345
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
#1427https://github.com/javascript-obfuscator/javascript-obfuscator/pull/1427
Unicode gets unescapedhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues/345#top
#1427https://github.com/javascript-obfuscator/javascript-obfuscator/pull/1427
PR is welcomedhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues?q=state%3Aopen%20label%3A%22PR%20is%20welcomed%22
bughttps://github.com/javascript-obfuscator/javascript-obfuscator/issues?q=state%3Aopen%20label%3A%22bug%22
help wantedhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
wontfixhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues?q=state%3Aopen%20label%3A%22wontfix%22
https://github.com/piotrm0
piotrm0https://github.com/piotrm0
on Oct 25, 2018https://github.com/javascript-obfuscator/javascript-obfuscator/issues/345#issue-373724739
https://obfuscator.io/https://obfuscator.io/
https://obfuscator.io/https://obfuscator.io/
PR is welcomedhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues?q=state%3Aopen%20label%3A%22PR%20is%20welcomed%22
bughttps://github.com/javascript-obfuscator/javascript-obfuscator/issues?q=state%3Aopen%20label%3A%22bug%22
help wantedhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
wontfixhttps://github.com/javascript-obfuscator/javascript-obfuscator/issues?q=state%3Aopen%20label%3A%22wontfix%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.