[Outdated] [Bug] Repository deep link returned JSON #70778
-
E.g. https://github.com/MasterInQuestion/Markup/blob/main/.github/README.txt {
"payload": {
"allShortcutsEnabled": false,
"fileTree": {
".github": {
"items": [
{
"name": "README.txt",
"path": ".github/README.txt",
"contentType": "file"
}
],
"totalCount": 1
},
"": {
"items": [
{
"name": ".github",
"path": ".github",
"contentType": "directory"
},
{
"name": "!clock.htm",
"path": "!clock.htm",
"contentType": "file"
},
{
"name": "AAA.htm",
"path": "AAA.htm",
"contentType": "file"
},
{
"name": "Counting.htm",
"path": "Counting.htm",
"contentType": "file"
},
{
"name": "Markup Intro.htm",
"path": "Markup Intro.htm",
"contentType": "file"
},
{
"name": "Structure.htm",
"path": "Structure.htm",
"contentType": "file"
},
{
"name": "Verbose--.htm",
"path": "Verbose--.htm",
"contentType": "file"
},
{
"name": "Verbose-.htm",
"path": "Verbose-.htm",
"contentType": "file"
},
{
"name": "Verbose.htm",
"path": "Verbose.htm",
"contentType": "file"
}
],
"totalCount": 9
}
},
"fileTreeProcessingTime": 6.154761,
"foldersToFetch": [],
"reducedMotionEnabled": null,
"repo": {
"id": 529737224,
"defaultBranch": "main",
"name": "Markup",
"ownerLogin": "MasterInQuestion",
"currentUserCanPush": false,
"isFork": false,
"isEmpty": false,
"createdAt": "2022-08-28T01:47:42.000Z",
"ownerAvatar": "https://avatars.githubusercontent.com/u/81106051?v=4",
"public": true,
"private": false,
"isOrgOwned": false
},
"symbolsExpanded": false,
"treeExpanded": true,
"refInfo": {
"name": "main",
"listCacheKey": "v0:1683789662.0",
"canEdit": false,
"refType": "branch",
"currentOid": "27e162211ec1b9ae2a661a73c42b8a954ff2943e"
},
"path": ".github/README.txt",
"currentUser": null,
"blob": {
"rawLines": [
"\tFor discussions: [ https://github.com/MasterInQuestion/talk/discussions ].\r"
],
"stylingDirectives": [
[]
],
"csv": null,
"csvError": null,
"dependabotInfo": {
"showConfigurationBanner": false,
"configFilePath": null,
"networkDependabotPath": "/MasterInQuestion/Markup/network/updates",
"dismissConfigurationNoticePath": "/settings/dismiss-notice/dependabot_configuration_notice",
"configurationNoticeDismissed": null,
"repoAlertsPath": "/MasterInQuestion/Markup/security/dependabot",
"repoSecurityAndAnalysisPath": "/MasterInQuestion/Markup/settings/security_analysis",
"repoOwnerIsOrg": false,
"currentUserCanAdminRepo": false
},
"displayName": "README.txt",
"displayUrl": "https://github.com/MasterInQuestion/Markup/blob/main/.github/README.txt?raw=true",
"headerInfo": {
"blobSize": "77 Bytes",
"deleteInfo": {
"deleteTooltip": "You must be signed in to make or propose changes"
},
"editInfo": {
"editTooltip": "You must be signed in to make or propose changes"
},
"ghDesktopPath": "https://desktop.github.com",
"gitLfsPath": null,
"onBranch": true,
"shortPath": "fde95d9",
"siteNavLoginPath": "/login?return_to=https%3A%2F%2Fgithub.com%2FMasterInQuestion%2FMarkup%2Fblob%2Fmain%2F.github%2FREADME.txt",
"isCSV": false,
"isRichtext": false,
"toc": null,
"lineInfo": {
"truncatedLoc": "1",
"truncatedSloc": "1"
},
"mode": "file"
},
"image": false,
"isCodeownersFile": null,
"isPlain": false,
"isValidLegacyIssueTemplate": false,
"issueTemplateHelpUrl": "https://docs.github.com/articles/about-issue-and-pull-request-templates",
"issueTemplate": null,
"discussionTemplate": null,
"language": "Text",
"languageID": 372,
"large": false,
"loggedIn": false,
"newDiscussionPath": "/MasterInQuestion/Markup/discussions/new",
"newIssuePath": "/MasterInQuestion/Markup/issues/new",
"planSupportInfo": {
"repoIsFork": null,
"repoOwnedByCurrentUser": null,
"requestFullPath": "/MasterInQuestion/Markup/blob/main/.github/README.txt",
"showFreeOrgGatedFeatureMessage": null,
"showPlanSupportBanner": null,
"upgradeDataAttributes": null,
"upgradePath": null
},
"publishBannersInfo": {
"dismissActionNoticePath": "/settings/dismiss-notice/publish_action_from_dockerfile",
"dismissStackNoticePath": "/settings/dismiss-notice/publish_stack_from_file",
"releasePath": "/MasterInQuestion/Markup/releases/new?marketplace=true",
"showPublishActionBanner": false,
"showPublishStackBanner": false
},
"rawBlobUrl": "https://github.com/MasterInQuestion/Markup/raw/main/.github/README.txt",
"renderImageOrRaw": false,
"richText": null,
"renderedFileInfo": null,
"shortPath": null,
"tabSize": 8,
"topBannersInfo": {
"overridingGlobalFundingFile": false,
"globalPreferredFundingPath": null,
"repoOwner": "MasterInQuestion",
"repoName": "Markup",
"showInvalidCitationWarning": false,
"citationHelpUrl": "https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files",
"showDependabotConfigurationBanner": false,
"actionsOnboardingTip": null
},
"truncated": false,
"viewable": true,
"workflowRedirectUrl": null,
"symbols": {
"timedOut": false,
"notAnalyzed": true,
"symbols": []
}
},
"copilotInfo": null,
"copilotAccessAllowed": false,
"csrf_tokens": {
"/MasterInQuestion/Markup/branches": {
"post": "UZvJOXkgotEuKvVbQw-JMBAxspg4ESRasnln9Gu6BFscMg-D-Kh9BMAxtH03rLopGd9CRpwGcmyGQCQ9ZwJ3dA"
},
"/repos/preferences": {
"post": "eH9FgDjzOoydTuTC2uMlvDXXE5BZFjWQLgn2wrd19HtskHz9yfN_h2aNcg48G4fQYCa4OKE1LDFoQtHF5eBjVw"
}
}
},
"title": "Markup/.github/README.txt at main · MasterInQuestion/Markup"
} ]] Request header:
]] Primarily affects ~~ Modifying the Accept header to ` See also: https://github.com/orgs/community/discussions/54546#discussioncomment-7474975 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Does GitHub's page loading rely on the default ` ---- Example no more reproducible now. |
Beta Was this translation helpful? Give feedback.
-
The "/search" page exhibited identical problem. E.g. https://github.com/search?q=involves:MasterInQuestion&type=discussions&s=updated&o=desc Same issue also on: And: https://github.com/orgs/community/discussions/139005#discussioncomment-10713581 |
Beta Was this translation helpful? Give feedback.
-
Probably similar: Probably doesn't merit a separate topic. |
Beta Was this translation helpful? Give feedback.
Does GitHub's page loading rely on the default `
*/*
` of Fetch/XHR?https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/setRequestHeader
https://fetch.spec.whatwg.org/#ref-for-header-list-contains⑧
----
Example no more reproducible now.
Whether sending browser-like UA or not, or not at all.