If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: github.com/stleary/JSON-java/pull/1093/files - Fix TAB/LF/CR escape when seri.

site address: github.com/stleary/JSON-java/pull/1093/files redirected to: github.com/stleary/JSON-java/pull/1093/files

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

Our opinion (on Friday 04 December 2026 7:11:12 UTC):

GREEN status (no comments) - no comments

Meta tags:
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. XMLTokener.unescapeEntity() uses it to reject invalid numeric character references when parsing. #1070 added those three codepoints to the valid-range clause so that unescape( ) works again (#1059). A side effect was that the serialization path stopped escaping literal TAB/LF/CR: XML.toString() and JSONML.toString() now write them as literal characters. Conforming XML parsers normalize whitespace, so a value like Lettuce\nTomato loses its line breaks when the generated XML is read back by any standard parser — the attribute value comes back as Lettuce Tomato (or with collapsed whitespace), and XML.toJSONObject(XML.toString(o)) does not return the original string. This PR splits the two concerns: XML.mustEscape() again returns true for every ISO control character (serialization). Literal TAB/LF/CR are written as , , , which was the behavior before #1070. New XML.isValidXmlCharacter() checks the XML 1.0 character range (#x9 #xA #xD [#x20-#xD7FF] [#xE000-#xFFFD] [#x10000-#x10FFFF]). XMLTokener.unescapeEntity() validates numeric character references against isValidXmlCharacter() instead, so , and keep being accepted — the #1059/#1070 parsing behavior is unchanged. Tests Three new tests in XMLTest: testEscapesLiteralWhitespaceControlCharsOnSerialization — XML.toString() writes / / for literal TAB/LF/CR. Fails on master. testWhitespaceControlCharsRoundTripThroughXml — XML.toJSONObject(XML.toString(o)) returns the original value with the line break intact. testJSONMLToStringEscapesLiteralNewlines — same requirement for JSONML.toString(). mvn test Tests run: 827, Failures: 0, Errors: 0, Skipped: 6 The existing #1059/#1070 regression tests (testValidWhitespaceNumericEntityUnescape, testValidWhitespaceNumericEntityToJSONObject) still pass.;

Headings (most frequently used words):

uh, oh, navigation, fix, tab, lf, cr, escape, when, serializing, to, xml, 1093, footer, diff, view, menu, repository, there, are, no, files, selected, for, viewing, filter, by, extension,

Text of the page (most frequently used words):
xml (37), the (34), and (26), file (25), this (20), characters (20), java (20), github (16), code (16), tab (16), org (15), for (14), character (14), that (12), while (12), line (12), string (12), applied (11), escape (10), test (10), static (10), unicode (10), json (10), all (9), reload (9), jsonobject (9), new (9), are (9), numeric (9), junit (9), show (9), hidden (9), expand (8), xmloutput (8), literal (8), original (8), when (8), name (8), diff (8), return (8), you (7), suggestion (7), cannot (7), suggestions (7), must (7), changes (7), loading (7), contains (7), tostring (7), value (7), tojsonobject (7), references (7), serializing (7), open (7), src (7), sign (7), can (6), change (6), valid (6), public (6), whitespace (6), import (6), assert (6), number (6), bidirectional (6), about (6), see (6), not (5), security (5), please (5), comments (5), from (5), commit (5), there (5), asserttrue (5), void (5), tabxml (5), jsonexception (5), class (5), what (5), learn (5), view (5), int (5), isvalidxmlcharacter (5), with (5), main (5), fix (5), point (5), your (5), pull (4), was (4), error (4), page (4), down (4), jsonml (4), should (4), got (4), text (4), reference (4), joe (4), tester (4), assertthrows (4), range (4), control (4), review (4), more (4), mustescape (4), isisocontrol (4), 1093 (4), true (4), files (4), stleary (4), support (4), copilot (4), community (3), navigation (3), 2026 (3), back (3), request (3), has (3), add (3), batch (3), only (3), retry (3), lettuce (3), ntomato (3), survive (3), round (3), put (3), tests (3), generated (3), these (3), 1092 (3), serialization (3), parsing (3), rejected (3), may (3), interpreted (3), compiled (3), differently (3), than (3), appears (3), below (3), editor (3), reveals (3), desktop (3), delete (3), edit (3), xmltest (3), additions (3), 1059 (3), xmltokener (3), 0x9 (3), 0xa (3), 0xd (3), them (3), x20 (3), xd7ff (3), hide (3), filter (3), lyin (3), ottf (3), commits (3), merged (3), account (3), quality (3), another (3), window (3), refresh (3), session (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), build (3), contact (2), status (2), privacy (2), terms (2), footer (2), lines (2), single (2), one (2), per (2), viewing (2), invalid (2), toggle (2), preserve (2), same (2), escaping (2), reparsed (2), assertequals (2), trip (2), read (2), tabjo (2), parsers (2), would (2), subject (2), normalization (2), conforming (2), occurrences (2), parser (2), still (2), work (2), 133 (2), always (2), x7f (2), x9f (2), inside (2), but (2), deletions (2), here (2), path (2), charat (2), 167 (2), 0x10000 (2), 0x10ffff (2), 0xe000 (2), 0xfffd (2), 0x20 (2), 0xd7ff (2), xe000 (2), xfffd (2), x10000 (2), x10ffff (2), iso (2), out (2), boolean (2), written (2), param (2), 156 (2), selected (2), apply (2), split (2), unified (2), failed (2), load (2), jump (2), extension (2), oct (2), tree (2), issue (2), insights (2), projects (2), actions (2), repository (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), business (2), fixes (2), products (2), secret (2), perform, action, time, share, personal, information, manage, cookies, docs, inc, right, now, check, later, queued, merge, multi, pending, reviews, been, marked, resolved, outdated, existing, order, create, applying, deleted, supported, subset, closed, because, were, made, annotations, notes, oops, something, went, wrong, tagname, mytag, testjsonmltostringescapesliteralnewlines, requirement, getstring, tmustard, testwhitespacecontrolcharsroundtripthroughxml, produced, trips, likewise, node, testescapesliteralwhitespacecontrolcharsonserialization, regression, where, 1070, stopped, lost, instead, writes, containing, does, accept, 159, 127, neighbouring, boundary, codepoints, behave, way, testrejectsc1controlcharacterreference, accepts, nel, x85, fixing, library, refused, those, char, 1610, 1611, testvalidwhitespacenumericentitytojsonobject, fail, assertnotequals, assertfalse, throw, substring, keep, being, accepted, also, escapes, validate, parsedecimalentity, parsehexentity, unescapeentity, throws, deletion, previous, release, accepting, separate, behaviour, keeps, parse, result, identical, keeping, therefore, legal, fall, reject, illegal, previously, omitted, causing, unescape, etc, w3c, spec, except, tabs, 0x1f, 0x7f, 0x9f, any, excluding, surrogate, blocks, fffe, ffff, https, www, rec, charsets, document, found, validated, method, they, includes, every, escaped, conversations, clear, filters, viewed, type, nbsp, again, fea3a2c, select, changed, checks, conversation, into, serialize, master, already, clicking, agree, our, occasionally, send, related, emails, statement, service, free, its, maintainers, have, question, project, items, wiki, requests, issues, message, dismiss, alert, switched, accounts, appearance, settings, search, pricing, event, talks, workshops, next, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, small, medium, teams, enterprises, stage, businesses, source, latest, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, hosting, collaboration, platform, menu, skip, content,
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)

Verified site has: 60 subpage(s). Do you want to verify them? Verify pages:

1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
51-55 56-60


Top 50 hastags from of all verified websites.

Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

Header

HTTP/1.1 301 Moved Permanently
Content-Length 0
Location htt????/github.com/stleary/JSON-java/pull/1093/files
connection close
HTTP/2 200
date Fri, 04 Dec 2026 07:11:12 GMT
content-type text/html; charset=utf-8
vary X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, X-GitHub-Client-Version, Sec-Fetch-Site,Accept-Encoding, Accept, X-Requested-With
cache-control no-cache
etag W/ 4f0a1b31257443f3fbc5e2b4d4d3f8e8
strict-transport-security max-age=31536000; includeSubdomains; preload
x-frame-options deny
x-content-type-options nosniff
x-xss-protection 0
referrer-policy no-referrer-when-downgrade
content-security-policy default-src none ; base-uri self ; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src self uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net productionresultssa1.blob.core.windows.net productionresultssa2.blob.core.windows.net productionresultssa3.blob.core.windows.net productionresultssa4.blob.core.windows.net productionresultssa5.blob.core.windows.net productionresultssa6.blob.core.windows.net productionresultssa7.blob.core.windows.net productionresultssa8.blob.core.windows.net productionresultssa9.blob.core.windows.net productionresultssa10.blob.core.windows.net productionresultssa11.blob.core.windows.net productionresultssa12.blob.core.windows.net productionresultssa13.blob.core.windows.net productionresultssa14.blob.core.windows.net productionresultssa15.blob.core.windows.net productionresultssa16.blob.core.windows.net productionresultssa17.blob.core.windows.net productionresultssa18.blob.core.windows.net productionresultssa19.blob.core.windows.net productionresultssa30.blob.core.windows.net productionresultssa31.blob.core.windows.net productionresultssa32.blob.core.windows.net github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com wss://*.wps.githubcopilot.com wss://production-copilot-host.webpubsub.azure.com wss://production-copilot-host-centralus.webpubsub.azure.com wss://production-copilot-host-centralus-02.webpubsub.azure.com wss://production-copilot-host-westus.webpubsub.azure.com wss://production-copilot-host-westus3.webpubsub.azure.com wss://production-copilot-host-eastasia.webpubsub.azure.com wss://production-copilot-host-austriaeast.webpubsub.azure.com api.github.com/cmc_internal/api/; font-src github.githubassets.com; form-action self github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors none ; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src self data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com user-images.githubusercontent.com private-user-images.githubusercontent.com opengraph.githubassets.com repository-images.githubusercontent.com marketplace-screenshots.githubusercontent.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com explore-feed.github.com *.googleusercontent.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src self ; media-src github.com user-images.githubusercontent.com secured-user-images.githubusercontent.com private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com sha256-6nkh0w49y4npXaU0CPIq0z+XDtPnpaDFECgj6Y9vmx4= ; style-src unsafe-inline github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server github.com
content-encoding gzip
accept-ranges bytes
set-cookie _gh_sess=wBSfdqUar9tpzVnzL%2BhLgBTS3laIa%2Fswz%2BJhryRDyOQe7cC54uGSACWnXjlC0Q4k8JHWl5GOz2QRelplh6LaqKL4iud6uldwgvbJY%2FpGNVZ7xlsufb8B7nRrcKJjHXWQPhTWtihN9KArDu94%2Fn6cJesXI%2BLsQAYYMFDKf06vIZom6Qw7o4CGL2rwNBew8aH8C5EK8Ifapia4cg0wlyY6YxCPVG6J2BcIkmYVe94k9NgpYKgHxrYPPw3loJzIelHVb6mTIkwT4K8hDGfxqEQr8A%3D%3D--%2FIMRFzN2r07a69Mf--z47D03EFs2GplNO5u4mGbg%3D%3D; path=/; HttpOnly; secure; SameSite=Lax
set-cookie _octo=GH1.1.2092215084.1796368271; expires=Sat, 04 Dec 2027 07:11:11 GMT; domain=.github.com; path=/; secure; SameSite=Lax
set-cookie logged_in=no; expires=Sat, 04 Dec 2027 07:11:11 GMT; domain=.github.com; path=/; HttpOnly; secure; SameSite=Lax
x-github-request-id 8950:16516D:393E49F:58A0DBF:6B12678F
x-github-edge-region fra

Meta Tags

title="Fix TAB/LF/CR escape when serializing to XML by Lyin-OTTF · Pull Request #1093 · stleary/JSON-java · GitHub"
charset="utf-8"
name="react-profiling" content="0" data-turbo-transient="true"
name="react-import-map" content="react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322" data-turbo-track="reload"
name="route-pattern" content="/:user_id/:repository/pull/:id/files(.:format)" data-turbo-transient
name="route-controller" content="pull_requests" data-turbo-transient
name="route-action" content="files" data-turbo-transient
name="fetch-nonce" content="v2:0ac39185-2c51-55f8-76c7-2b7478bc3e56"
name="current-catalog-service-hash" content="ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b"
name="request-id" content="8950:16516D:393E49F:58A0DBF:6B12678F" data-pjax-transient="true"
name="html-safe-nonce" content="dd75b903c58168510eb3c504bfc834e4b923425d5f19483af9d222f1bdfc2fc1" data-pjax-transient="true"
name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTUwOjE2NTE2RDozOTNFNDlGOjU4QTBEQkY6NkIxMjY3OEYiLCJ2aXNpdG9yX2lkIjoiODk4NTk5NTM2Mzc3NDI2MTEzNSIsInJlZ2lvbl9lZGdlIjoiZnJhIiwicmVnaW9uX3JlbmRlciI6ImZyYSJ9" data-pjax-transient="true"
name="visitor-hmac" content="c7cd47c72ebd42cae9c30e642b57196c798dc0d1fc1b1708533e7f8986528e9d" data-pjax-transient="true"
name="hovercard-subject-tag" content="pull_request:4936477325" data-turbo-transient
name="github-keyboard-shortcuts" content="repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot" data-turbo-transient="true"
name="selected-link" value="repo_pulls" data-turbo-transient
name="google-site-verification" content="Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I"
name="octolytics-url" content="htt????/collector.github.com/github/collect"
name="analytics-location" content="/<user-name>/<repo-name>/pull_requests/show/files" data-turbo-transient="true"
name="user-login" content=""
name="viewport" content="width=device-width"
name="description" content='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. XMLTokener.unescapeEntity() uses it to reject invalid numeric character references when parsing. #1070 added those three codepoints to the valid-range clause so that unescape("&#10;") works again (#1059). A side effect was that the serialization path stopped escaping literal TAB/LF/CR: XML.toString() and JSONML.toString() now write them as literal characters. Conforming XML parsers normalize whitespace, so a value like "Lettuce\nTomato" loses its line breaks when the generated XML is read back by any standard parser — the attribute value comes back as "Lettuce Tomato" (or with collapsed whitespace), and XML.toJSONObject(XML.toString(o)) does not return the original string. This PR splits the two concerns: XML.mustEscape() again returns true for every ISO control character (serialization). Literal TAB/LF/CR are written as &#9;, &#10;, &#13;, which was the behavior before #1070. New XML.isValidXmlCharacter() checks the XML 1.0 character range (#x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]). XMLTokener.unescapeEntity() validates numeric character references against isValidXmlCharacter() instead, so &#9;, &#10; and &#13; keep being accepted — the #1059/#1070 parsing behavior is unchanged. Tests Three new tests in XMLTest: testEscapesLiteralWhitespaceControlCharsOnSerialization — XML.toString() writes &#xa;/&#x9;/&#xd; for literal TAB/LF/CR. Fails on master. testWhitespaceControlCharsRoundTripThroughXml — XML.toJSONObject(XML.toString(o)) returns the original value with the line break intact. testJSONMLToStringEscapesLiteralNewlines — same requirement for JSONML.toString(). mvn test Tests run: 827, Failures: 0, Errors: 0, Skipped: 6 The existing #1059/#1070 regression tests (testValidWhitespaceNumericEntityUnescape, testValidWhitespaceNumericEntityToJSONObject) still pass.'
property="fb:app_id" content="1401488693436528"
name="apple-itunes-app" content="app-id=1477376905, app-argument=htt????/github.com/stleary/JSON-java/pull/1093/files"
name="twitter:image" content="htt????/avatars.githubusercontent.com/u/177217020?s=400&v=4"
name="twitter:site" content="@github"
name="twitter:card" content="summary_large_image"
name="twitter:title" content="Fix TAB/LF/CR escape when serializing to XML by Lyin-OTTF · Pull Request #1093 · stleary/JSON-java"
name="twitter:description" content="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. ..."
property="og:image" content="htt????/avatars.githubusercontent.com/u/177217020?s=400&v=4"
property="og:image:alt" content="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. ..."
property="og:site_name" content="GitHub"
property="og:type" content="object"
property="og:title" content="Fix TAB/LF/CR escape when serializing to XML by Lyin-OTTF · Pull Request #1093 · stleary/JSON-java"
property="og:url" content="htt????/github.com/stleary/JSON-java/pull/1093"
property="og:description" content="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. ..."
name="hostname" content="github.com"
name="expected-hostname" content="github.com"
http-equiv="x-pjax-version" content="15af65dd2097e0658204bbdb511c8b24728519361d92473fd5a845f22547f0c6" data-turbo-track="reload"
http-equiv="x-pjax-csp-version" content="adddfd507de4c4b0b130ff1dbf3c31681ba97e7a45dc69da056946fc5370dfd4" data-turbo-track="reload"
http-equiv="x-pjax-css-version" content="de9d42c9851f7fc17e362ce733048fdc5a047e3bd51005595de23641df84a882" data-turbo-track="reload"
http-equiv="x-pjax-js-version" content="d32857e0a1dc2c26f9826f1a7c7d975d8dca6bd02e2878a34e68943dae60fb72" data-turbo-track="reload"
name="turbo-cache-control" content="no-preview" data-turbo-transient=""
name="diff-view" content="unified" data-turbo-transient
name="go-import" content="github.com/stleary/JSON-java git htt????/github.com/stleary/JSON-java.git"
name="octolytics-dimension-user_id" content="5107558"
name="octolytics-dimension-user_login" content="stleary"
name="octolytics-dimension-repository_id" content="1187853"
name="octolytics-dimension-repository_nwo" content="stleary/JSON-java"
name="octolytics-dimension-repository_public" content="true"
name="octolytics-dimension-repository_is_fork" content="false"
name="octolytics-dimension-repository_network_root_id" content="1187853"
name="octolytics-dimension-repository_network_root_nwo" content="stleary/JSON-java"
name="robots" content="noindex, nofollow"
name="turbo-body-classes" content="logged-out env-production page-responsive full-width"
name="disable-turbo" content="true"
name="browser-stats-url" content="htt????/api.github.com/_private/browser/stats"
name="browser-errors-url" content="htt????/api.github.com/_private/browser/errors"
name="release" content="e6aedde512011b93819435c07e8233ea7235a83a" data-turbo-track="reload"
name="ui-target" content="full"
name="theme-color" content="#1e2327"
name="color-scheme" content="light dark"

Load Info

page size59355
load time (s)1.15142
redirect count1
speed download51568
server IP 140.82.121.3
* all occurrences of the string "http://" have been changed to "htt???/"