René's URL Explorer Experiment


Title: Fix TAB/LF/CR escape when serializing to XML by Lyin-OTTF · Pull Request #1093 · stleary/JSON-java · GitHub

Open Graph Title: Fix TAB/LF/CR escape when serializing to XML by Lyin-OTTF · Pull Request #1093 · stleary/JSON-java

X Title: Fix TAB/LF/CR escape when serializing to XML by Lyin-OTTF · Pull Request #1093 · stleary/JSON-java

Description: A reference implementation of a JSON package in Java. - Fix TAB/LF/CR escape when serializing to XML by Lyin-OTTF · Pull Request #1093 · stleary/JSON-java

Open Graph Description: Description Fixes #1092. XML.mustEscape() is shared by two callers that need opposite answers for TAB (0x9), LF (0xA) and CR (0xD): XML.escape() uses it to decide what to escape when serializing. ...

X Description: Description Fixes #1092. XML.mustEscape() is shared by two callers that need opposite answers for TAB (0x9), LF (0xA) and CR (0xD): XML.escape() uses it to decide what to escape when serializing. ...

Opengraph URL: https://github.com/stleary/JSON-java/pull/1093

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:dbc666a5-cd19-415e-d959-3e144e2d50fd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA2D6:A067:267413C:358E7DF:6AFD448F
html-safe-nonce277dbc0c5362a1d2d8dd802a1d2547bba37ba4645b133cc8b960a5e6d8bd9f74
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkQ2OkEwNjc6MjY3NDEzQzozNThFN0RGOjZBRkQ0NDhGIiwidmlzaXRvcl9pZCI6IjU1MzIxNjEyMjMzMDAwMzk4MjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac40b36995f88d4979a3f25cf331a0c5682b8e4b966b6afcec7a22eacb89c4195d
hovercard-subject-tagpull_request:4936477325
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/stleary/JSON-java/1093/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5c6cde007a3e1fef3ef60462c707abbd151f3b047e1b35c9848dcd2889d933b2/stleary/JSON-java/pull/1093
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5c6cde007a3e1fef3ef60462c707abbd151f3b047e1b35c9848dcd2889d933b2/stleary/JSON-java/pull/1093
og:image:altDescription Fixes #1092. XML.mustEscape() is shared by two callers that need opposite answers for TAB (0x9), LF (0xA) and CR (0xD): XML.escape() uses it to decide what to escape when serializing. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLyin-OTTF
hostnamegithub.com
expected-hostnamegithub.com
Nonebdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474
turbo-cache-controlno-cache
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
release556dd37bb0aceffb25724e151b5d858b3265b40b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/stleary/JSON-java/pull/1093#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstleary%2FJSON-java%2Fpull%2F1093
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%2Fpull%2F1093
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=stleary%2FJSON-java
Reloadhttps://github.com/stleary/JSON-java/pull/1093
Reloadhttps://github.com/stleary/JSON-java/pull/1093
Reloadhttps://github.com/stleary/JSON-java/pull/1093
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
stlearyhttps://github.com/stleary
stleary:masterhttps://github.com/stleary/JSON-java/tree/master
Lyin-OTTF:fix/xml-serialize-escape-whitespacehttps://github.com/Lyin-OTTF/JSON-java/tree/fix/xml-serialize-escape-whitespace
Conversationhttps://github.com/stleary/JSON-java/pull/1093
Commits1 (1)https://github.com/stleary/JSON-java/pull/1093/commits
Checkshttps://github.com/stleary/JSON-java/pull/1093/checks
Files changedhttps://github.com/stleary/JSON-java/pull/1093/files
Fix TAB/LF/CR escape when serializing to XMLhttps://github.com/stleary/JSON-java/pull/1093#top
stlearyhttps://github.com/stleary
stleary:masterhttps://github.com/stleary/JSON-java/tree/master
Lyin-OTTF:fix/xml-serialize-escape-whitespacehttps://github.com/Lyin-OTTF/JSON-java/tree/fix/xml-serialize-escape-whitespace
https://github.com/Lyin-OTTF
Lyin-OTTFhttps://github.com/Lyin-OTTF
Oct 20, 2026https://github.com/stleary/JSON-java/pull/1093#issue-5942543599
#1092https://github.com/stleary/JSON-java/issues/1092
#1070https://github.com/stleary/JSON-java/pull/1070
#1059https://github.com/stleary/JSON-java/issues/1059
Fix XML.unescape rejecting valid whitespace numeric character references #1070https://github.com/stleary/JSON-java/pull/1070
org.json.XML.unescape(" "); throws org.json.JSONException: Invalid numeric character reference:  #1059https://github.com/stleary/JSON-java/issues/1059
Fix XML.unescape rejecting valid whitespace numeric character references #1070https://github.com/stleary/JSON-java/pull/1070
#1059https://github.com/stleary/JSON-java/issues/1059
#1070https://github.com/stleary/JSON-java/pull/1070
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1093
https://github.com/stleary
stlearyhttps://github.com/stleary
Oct 20, 2026https://github.com/stleary/JSON-java/pull/1093#issuecomment-6298805049
@Lyin-OTTFhttps://github.com/Lyin-OTTF
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1093
https://github.com/stleary
stlearyhttps://github.com/stleary
In review https://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22In%20review%22
Oct 20, 2026https://github.com/stleary/JSON-java/pull/1093#event-33774991140
https://github.com/Lyin-OTTF
Lyin-OTTFhttps://github.com/Lyin-OTTF
force-pushedhttps://github.com/stleary/JSON-java/compare/1cf10b563dec91f64d4ebaba533514e0fd23f513..3b93afd4e10795a9bd8bf08fdba2b976cb2bfe87
1cf10b5https://github.com/stleary/JSON-java/commit/1cf10b563dec91f64d4ebaba533514e0fd23f513
3b93afdhttps://github.com/stleary/JSON-java/commit/3b93afd4e10795a9bd8bf08fdba2b976cb2bfe87
Compare https://github.com/stleary/JSON-java/compare/1cf10b563dec91f64d4ebaba533514e0fd23f513..3b93afd4e10795a9bd8bf08fdba2b976cb2bfe87
October 21, 2026 01:23https://github.com/stleary/JSON-java/pull/1093#event-33801369369
https://github.com/Lyin-OTTF
Lyin-OTTFhttps://github.com/Lyin-OTTF
Oct 21, 2026https://github.com/stleary/JSON-java/pull/1093#issuecomment-6305698510
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1093
https://github.com/stleary
stlearyhttps://github.com/stleary
Oct 25, 2026https://github.com/stleary/JSON-java/pull/1093#issuecomment-6401211195
@Lyin-OTTFhttps://github.com/Lyin-OTTF
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1093
https://github.com/stleary
stlearyhttps://github.com/stleary
Code review action items https://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Code%20review%20action%20items%22
Oct 25, 2026https://github.com/stleary/JSON-java/pull/1093#event-34196713680
https://github.com/Lyin-OTTF
Lyin-OTTFhttps://github.com/Lyin-OTTF
Oct 26, 2026https://github.com/stleary/JSON-java/pull/1093#issuecomment-6405551281
@stlearyhttps://github.com/stleary
#1092https://github.com/stleary/JSON-java/issues/1092
#1070https://github.com/stleary/JSON-java/pull/1070
#1059https://github.com/stleary/JSON-java/issues/1059
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1093
https://github.com/Lyin-OTTF
Escape TAB/LF/CR again when serializing to XMLhttps://github.com/stleary/JSON-java/pull/1093/commits/fea3a2ce32a63c249a20e1a6477ec0881d767103
fea3a2chttps://github.com/stleary/JSON-java/pull/1093/commits/fea3a2ce32a63c249a20e1a6477ec0881d767103
stleary#1070https://github.com/stleary/JSON-java/pull/1070
stleary#10https://github.com/stleary/JSON-java/issues/10
stleary#1092https://github.com/stleary/JSON-java/issues/1092
stleary#9https://github.com/stleary/JSON-java/pull/9
stleary#10https://github.com/stleary/JSON-java/issues/10
stleary#13https://github.com/stleary/JSON-java/issues/13
stleary#1059https://github.com/stleary/JSON-java/issues/1059
stleary#1070https://github.com/stleary/JSON-java/pull/1070
stleary#1092https://github.com/stleary/JSON-java/issues/1092
https://github.com/Lyin-OTTF
Lyin-OTTFhttps://github.com/Lyin-OTTF
force-pushedhttps://github.com/stleary/JSON-java/compare/3b93afd4e10795a9bd8bf08fdba2b976cb2bfe87..fea3a2ce32a63c249a20e1a6477ec0881d767103
3b93afdhttps://github.com/stleary/JSON-java/commit/3b93afd4e10795a9bd8bf08fdba2b976cb2bfe87
fea3a2chttps://github.com/stleary/JSON-java/commit/fea3a2ce32a63c249a20e1a6477ec0881d767103
Compare https://github.com/stleary/JSON-java/compare/3b93afd4e10795a9bd8bf08fdba2b976cb2bfe87..fea3a2ce32a63c249a20e1a6477ec0881d767103
October 26, 2026 00:35https://github.com/stleary/JSON-java/pull/1093#event-34213338256
https://github.com/Lyin-OTTF
Lyin-OTTFhttps://github.com/Lyin-OTTF
Oct 26, 2026https://github.com/stleary/JSON-java/pull/1093#issuecomment-6405609597
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1093
https://github.com/apps/sonarqubecloud
sonarqubecloudhttps://github.com/apps/sonarqubecloud
Oct 26, 2026https://github.com/stleary/JSON-java/pull/1093#issuecomment-6405612116
https://sonarcloud.io/dashboard?id=stleary_JSON-java&pullRequest=1093
https://camo.githubusercontent.com/dee0494dfbfba8079e42e9f874fc4565349e336afadd63a079854676b0cd67c5/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 New issueshttps://sonarcloud.io/project/issues?id=stleary_JSON-java&pullRequest=1093&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/57c99c752ea927bfb138851f87c6834d88d3cf919db587aef9ad776ef6f3a1ba/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f61636365707465642d313670782e706e67
0 Accepted issueshttps://sonarcloud.io/project/issues?id=stleary_JSON-java&pullRequest=1093&issueStatuses=ACCEPTED
https://camo.githubusercontent.com/dee0494dfbfba8079e42e9f874fc4565349e336afadd63a079854676b0cd67c5/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0 Security Hotspotshttps://sonarcloud.io/project/security_hotspots?id=stleary_JSON-java&pullRequest=1093&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true
https://camo.githubusercontent.com/dee0494dfbfba8079e42e9f874fc4565349e336afadd63a079854676b0cd67c5/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Coverage on New Codehttps://sonarcloud.io/component_measures?id=stleary_JSON-java&pullRequest=1093&metric=new_coverage&view=list
https://camo.githubusercontent.com/dee0494dfbfba8079e42e9f874fc4565349e336afadd63a079854676b0cd67c5/68747470733a2f2f736f6e6172736f757263652e6769746875622e696f2f736f6e6172636c6f75642d6769746875622d7374617469632d7265736f75726365732f76322f636f6d6d6f6e2f7061737365642d313670782e706e67
0.0% Duplication on New Codehttps://sonarcloud.io/component_measures?id=stleary_JSON-java&pullRequest=1093&metric=new_duplicated_lines_density&view=list
See analysis details on SonarQube Cloudhttps://sonarcloud.io/dashboard?id=stleary_JSON-java&pullRequest=1093
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1093
https://github.com/stleary
stlearyhttps://github.com/stleary
Oct 27, 2026https://github.com/stleary/JSON-java/pull/1093#issuecomment-6432023481
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1093
https://github.com/stleary
stlearyhttps://github.com/stleary
Oct 27, 2026https://github.com/stleary/JSON-java/pull/1093#event-34323732253
https://github.com/stleary
stlearyhttps://github.com/stleary
Oct 27, 2026https://github.com/stleary/JSON-java/pull/1093#event-34323738686
https://github.com/stleary
stlearyhttps://github.com/stleary
In review https://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22In%20review%22
Code review action items https://github.com/stleary/JSON-java/issues?q=state%3Aopen%20label%3A%22Code%20review%20action%20items%22
Oct 31, 2026https://github.com/stleary/JSON-java/pull/1093#event-34773604843
https://github.com/stleary
stlearyhttps://github.com/stleary
Oct 31, 2026 https://github.com/stleary/JSON-java/pull/1093#pullrequestreview-5722921669
View reviewed changes https://github.com/stleary/JSON-java/pull/1093/files/fea3a2ce32a63c249a20e1a6477ec0881d767103
https://github.com/stleary
stlearyhttps://github.com/stleary
2cd0a8chttps://github.com/stleary/JSON-java/commit/2cd0a8c2112a3bc17d33ba8546c54ecb613613f1
Oct 31, 2026https://github.com/stleary/JSON-java/pull/1093#event-34773641703
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1093
https://github.co/hiddenchars
https://github.com/stleary/JSON-java/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstleary%2FJSON-java%2Fpull%2F1093
https://github.com/stleary
stleary https://github.com/stleary
https://github.com/stleary/JSON-java/pull/1093/files/fea3a2ce32a63c249a20e1a6477ec0881d767103
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1093
JSONML.toString() and XML.toString() omit escaping for literal newlines (\n), causing whitespace loss in downstream XML parsers (Regression from #1070) https://github.com/stleary/JSON-java/issues/1092
Please reload this pagehttps://github.com/stleary/JSON-java/pull/1093
https://github.com/Lyin-OTTF
https://github.com/stleary
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.