René's URL Explorer Experiment


Title: Queries involving keys containing four backslashes ("\\\\") failing. · Issue #561 · stleary/JSON-java · GitHub

Open Graph Title: Queries involving keys containing four backslashes ("\\\\") failing. · Issue #561 · stleary/JSON-java

X Title: Queries involving keys containing four backslashes ("\\\\") failing. · Issue #561 · stleary/JSON-java

Description: I encountered a problem with an application when JSON keys contained four backslashes (\\). After a lot of debugging I found that JSONPointer (used in my app) was returning null when queried. Stepping through the code it seems that the t...

Open Graph Description: I encountered a problem with an application when JSON keys contained four backslashes (\\). After a lot of debugging I found that JSONPointer (used in my app) was returning null when queried. Stepp...

X Description: I encountered a problem with an application when JSON keys contained four backslashes (\\). After a lot of debugging I found that JSONPointer (used in my app) was returning null when queried. Stepp...

Opengraph URL: https://github.com/stleary/JSON-java/issues/561

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Queries involving keys containing four backslashes (\"\\\\\\\\\") failing. ","articleBody":"I encountered a problem with an application when JSON keys contained four backslashes (\\\\\\\\).\r\n\r\nAfter a lot of debugging I found that JSONPointer (used in my app) was returning null when queried. Stepping through the code it seems that the token used for the key may be double unescaped; I saw the same token unescaped() on line 173 when the JSONPointer was built, then on line 213 when the pointer was used in a query.\r\n\r\nhttps://github.com/stleary/JSON-java/blob/master/src/main/java/org/json/JSONPointer.java#L173\r\nhttps://github.com/stleary/JSON-java/blob/master/src/main/java/org/json/JSONPointer.java#L213\r\n\r\nThis example test will fail on the trunk version of the library:\r\n\r\nhttps://github.com/jimblackler/JSON-java/commit/8d6e1d85ff581e0934b839df04554b10f6f9ab29#diff-b4df778ff5909ef85877e003ed15b3beR279\r\n\r\n(Note there are eight double slashes in the literal in the test, because it's escaped for the Java string literal)\r\n\r\nI'm not 100% sure of my understanding of the issue or the correct behavior. I'd be grateful if someone who is familiar with the practices handling these strings could comment or confirm, and also advise if the fix in the patch above is something that I should submit.","author":{"url":"https://github.com/jimblackler","@type":"Person","name":"jimblackler"},"datePublished":"2020-08-25T18:34:21Z","url":"https://github.com/stleary/JSON-java/issues/561"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:535e6d68-b359-6b7d-ad4c-54006b722dbe
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB832:232A10:253D0F:33676B:6AFD5383
html-safe-nonce6ac490ffadc871639205e50abcd0c287ef5052939966c5401930ce47981e7bfb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODMyOjIzMkExMDoyNTNEMEY6MzM2NzZCOjZBRkQ1MzgzIiwidmlzaXRvcl9pZCI6IjI5MzU1ODQ0OTkwNjYyOTUxNzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6732c4e5c969109e4230d19665f3c6399aaac05d16880d75ca54fbb3b8fc7d6b
hovercard-subject-tagissue:685701317
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/stleary/JSON-java/561/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ae32dc7c18d07f15de58ae1c6567b2a99db8426e1b36c4db8120a74b521cd6b2/stleary/JSON-java/issues/561
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ae32dc7c18d07f15de58ae1c6567b2a99db8426e1b36c4db8120a74b521cd6b2/stleary/JSON-java/issues/561
og:image:altI encountered a problem with an application when JSON keys contained four backslashes (\\). After a lot of debugging I found that JSONPointer (used in my app) was returning null when queried. Stepp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejimblackler
hostnamegithub.com
expected-hostnamegithub.com
None66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e
turbo-cache-controlno-preview
go-importgithub.com/stleary/JSON-java git https://github.com/stleary/JSON-java.git
octolytics-dimension-user_id5107558
octolytics-dimension-user_loginstleary
octolytics-dimension-repository_id1187853
octolytics-dimension-repository_nwostleary/JSON-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1187853
octolytics-dimension-repository_network_root_nwostleary/JSON-java
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
releaseb6f01f7cb9f35f8c09949773241a3d49dd04b340
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/stleary/JSON-java/issues/561#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstleary%2FJSON-java%2Fissues%2F561
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstleary%2FJSON-java%2Fissues%2F561
Sign uphttps://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=stleary%2FJSON-java
Reloadhttps://github.com/stleary/JSON-java/issues/561
Reloadhttps://github.com/stleary/JSON-java/issues/561
Reloadhttps://github.com/stleary/JSON-java/issues/561
stlearyhttps://github.com/stleary
JSON-javahttps://github.com/stleary/JSON-java
Codehttps://github.com/stleary/JSON-java
Issues19 (19)https://github.com/stleary/JSON-java/issues
Pull requestshttps://github.com/stleary/JSON-java/pulls
Actionshttps://github.com/stleary/JSON-java/actions
Projectshttps://github.com/stleary/JSON-java/projects
Wikihttps://github.com/stleary/JSON-java/wiki
Security and quality1 (1)https://github.com/stleary/JSON-java/security
Insightshttps://github.com/stleary/JSON-java/pulse
https://github.com/stleary/JSON-java
New issuehttps://github.com/login?return_to=https://github.com/stleary/JSON-java/issues/561
New issuehttps://github.com/login?return_to=https://github.com/stleary/JSON-java/issues/561
Queries involving keys containing four backslashes ("\\\\") failing. https://github.com/stleary/JSON-java/issues/561#top
Hacktoberfesthttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Hacktoberfest%22
https://github.com/jimblackler
jimblacklerhttps://github.com/jimblackler
on Aug 25, 2020https://github.com/stleary/JSON-java/issues/561#issue-685701317
https://github.com/stleary/JSON-java/blob/master/src/main/java/org/json/JSONPointer.java#L173https://github.com/stleary/JSON-java/blob/master/src/main/java/org/json/JSONPointer.java#L173
https://github.com/stleary/JSON-java/blob/master/src/main/java/org/json/JSONPointer.java#L213https://github.com/stleary/JSON-java/blob/master/src/main/java/org/json/JSONPointer.java#L213
jimblackler@8d6e1d8#diff-b4df778ff5909ef85877e003ed15b3beR279https://github.com/jimblackler/JSON-java/commit/8d6e1d85ff581e0934b839df04554b10f6f9ab29#diff-b4df778ff5909ef85877e003ed15b3beR279
https://github.com/johnjaylward
johnjaylwardhttps://github.com/johnjaylward
on Aug 25, 2020https://github.com/stleary/JSON-java/issues/561#issuecomment-680237312
@erosbhttps://github.com/erosb
https://github.com/jimblackler
jimblacklerhttps://github.com/jimblackler
on Aug 25, 2020https://github.com/stleary/JSON-java/issues/561#issuecomment-680308214
https://github.com/stleary
stlearyhttps://github.com/stleary
on Aug 29, 2020https://github.com/stleary/JSON-java/issues/561#issuecomment-683308467
@erosbhttps://github.com/erosb
stlearyhttps://github.com/stleary
Active discussionhttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Active%20discussion%22
on Aug 29, 2020https://github.com/stleary/JSON-java/issues/561#event-3706609001
https://github.com/erosb
erosbhttps://github.com/erosb
on Aug 29, 2020https://github.com/stleary/JSON-java/issues/561#issuecomment-683334921
https://github.com/stleary
stlearyhttps://github.com/stleary
on Aug 30, 2020https://github.com/stleary/JSON-java/issues/561#issuecomment-683367753
@erosbhttps://github.com/erosb
https://github.com/stleary
stlearyhttps://github.com/stleary
on Oct 8, 2020https://github.com/stleary/JSON-java/issues/561#issuecomment-705830874
RFC6901https://tools.ietf.org/html/rfc6901
https://github.com/niteshbheda
niteshbhedahttps://github.com/niteshbheda
on Dec 16, 2020https://github.com/stleary/JSON-java/issues/561#issuecomment-746199468
https://github.com/stleary
stlearyhttps://github.com/stleary
on Dec 16, 2020https://github.com/stleary/JSON-java/issues/561#issuecomment-746294466
https://github.com/johnjaylward
johnjaylwardhttps://github.com/johnjaylward
on Dec 16, 2020https://github.com/stleary/JSON-java/issues/561#issuecomment-746373064
stlearyhttps://github.com/stleary
JSONPointer issuehttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22JSONPointer%20issue%22
Coding issuehttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Coding%20issue%22
Active discussionhttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Active%20discussion%22
on Feb 20, 2021https://github.com/stleary/JSON-java/issues/561#event-4355640615
https://github.com/johnjaylward
johnjaylwardhttps://github.com/johnjaylward
on Mar 1, 2021https://github.com/stleary/JSON-java/issues/561#issuecomment-788166473
#588https://github.com/stleary/JSON-java/pull/588
https://github.com/johnjaylward
johnjaylwardhttps://github.com/johnjaylward
on Mar 2, 2021https://github.com/stleary/JSON-java/issues/561#issuecomment-788991870
@jimblacklerhttps://github.com/jimblackler
#588https://github.com/stleary/JSON-java/pull/588
#588https://github.com/stleary/JSON-java/pull/588
stlearyhttps://github.com/stleary
Hacktoberfesthttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Hacktoberfest%22
Coding issuehttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Coding%20issue%22
on Oct 6, 2021https://github.com/stleary/JSON-java/issues/561#event-5415137746
https://github.com/katldewitt
katldewitthttps://github.com/katldewitt
on Oct 21, 2021https://github.com/stleary/JSON-java/issues/561#issuecomment-948175253
https://github.com/stleary
stlearyhttps://github.com/stleary
on Oct 21, 2021https://github.com/stleary/JSON-java/issues/561#issuecomment-948191164
@katldewitthttps://github.com/katldewitt
stlearyhttps://github.com/stleary
Assigned to a Developerhttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Assigned%20to%20a%20Developer%22
on Oct 21, 2021https://github.com/stleary/JSON-java/issues/561#event-5495456275
https://github.com/johnjaylward
johnjaylwardhttps://github.com/johnjaylward
on Oct 21, 2021https://github.com/stleary/JSON-java/issues/561#issuecomment-948612567
https://github.com/katldewitt
katldewitthttps://github.com/katldewitt
on Oct 28, 2021https://github.com/stleary/JSON-java/issues/561#issuecomment-953850474
#640https://github.com/stleary/JSON-java/pull/640
@johnjaylwardhttps://github.com/johnjaylward
#588https://github.com/stleary/JSON-java/pull/588
stlearyhttps://github.com/stleary
on Nov 2, 2021https://github.com/stleary/JSON-java/issues/561#event-5556724802
Merge pull request #640 from katldewitt/561-backslasheshttps://github.com/stleary/JSON-java/commit/d6227c83d79be51fe9efda7a55a6ec2850fdfd78
#640https://github.com/stleary/JSON-java/pull/640
d6227c8https://github.com/stleary/JSON-java/commit/d6227c83d79be51fe9efda7a55a6ec2850fdfd78
https://github.com/stleary
stlearyhttps://github.com/stleary
on Nov 2, 2021https://github.com/stleary/JSON-java/issues/561#issuecomment-957934738
#640https://github.com/stleary/JSON-java/pull/640
stlearyhttps://github.com/stleary
completedhttps://github.com/stleary/JSON-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 2, 2021https://github.com/stleary/JSON-java/issues/561#event-5556733079
Sign up for freehttps://github.com/signup?return_to=https://github.com/stleary/JSON-java/issues/561
Sign in to commenthttps://github.com/login?return_to=https://github.com/stleary/JSON-java/issues/561
Hacktoberfesthttps://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Hacktoberfest%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.