| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:208bd8cc-1404-ecc3-c4ac-3ac27497468a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8CBA:72699:B5AD83:FF391F:6AFB7991 |
| html-safe-nonce | b4ab3be4238667180b357243731381ada14598effc200bb9252b2caf50d62435 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0JBOjcyNjk5OkI1QUQ4MzpGRjM5MUY6NkFGQjc5OTEiLCJ2aXNpdG9yX2lkIjoiMjkzODQ2NjAyNjk4NDc5ODYwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 09671b2d65e585b6a9a1eb9af2983aef17c34e4df88e3e64a9e0f99015eb735c |
| hovercard-subject-tag | pull_request:4341831397 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/7009/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary
Downloading a markdown file returned a zip with an empty assets/ folder whenever the document merely mentioned an embed URL. Any document about the files API tripped it — an inline `/api/f... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2e8872b770cc4d5d0cc1f2026afab747a268e2ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/7009/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7009%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7009%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim |
| Reload | https://github.com/simstudioai/sim/pull/7009/files |
| Reload | https://github.com/simstudioai/sim/pull/7009/files |
| Reload | https://github.com/simstudioai/sim/pull/7009/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests202 (202) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| waleedlatif1 | https://github.com/waleedlatif1 |
| staging | https://github.com/simstudioai/sim/tree/staging |
| fix/file-zip-download | https://github.com/simstudioai/sim/tree/fix/file-zip-download |
|
Conversation
24
| https://github.com/simstudioai/sim/pull/7009 |
|
Commits
4
| https://github.com/simstudioai/sim/pull/7009/commits |
|
Checks
29
| https://github.com/simstudioai/sim/pull/7009/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/7009/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7009/files |
|
fix(files): download a markdown file as a zip only when it really has assets
| https://github.com/simstudioai/sim/pull/7009/files#top |
|
Show all changes
4 commits
| https://github.com/simstudioai/sim/pull/7009/files |
|
ed78cda
fix(files): download a markdown file as a zip only when it really has…
waleedlatif1 Aug 23, 2026
| https://github.com/simstudioai/sim/pull/7009/commits/ed78cda9ef8547ce43223a9b64aed88b5909ca7c |
|
10bb0e7
fix(files): keep an embed id spelled as the document spells it
waleedlatif1 Aug 23, 2026
| https://github.com/simstudioai/sim/pull/7009/commits/10bb0e73cbb3c056d53501961bf6c31df5422805 |
|
f346f5c
fix(files): resolve an export asset by its stored id, rewrite by its …
waleedlatif1 Aug 23, 2026
| https://github.com/simstudioai/sim/pull/7009/commits/f346f5ce514647208ba7e0e0d57f5a560471c8a0 |
|
c76fc77
fix(files): resolve an embed by its stored id wherever one is read fr…
waleedlatif1 Aug 23, 2026
| https://github.com/simstudioai/sim/pull/7009/commits/c76fc77f6c10966171bc840c2d4cd5e96a81b3be |
|
Clear filters
| https://github.com/simstudioai/sim/pull/7009/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7009/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7009/files |
|
route.test.ts
| https://github.com/simstudioai/sim/pull/7009/files#diff-cd591b0264baee291a708160d8122658c9999b7e32f09d74b0908bcd874e96fb |
|
route.ts
| https://github.com/simstudioai/sim/pull/7009/files#diff-c1d6d66f4d090c56d722fc0d20b0c02464e9d96959db92ecea1553be66affa6a |
|
route.ts
| https://github.com/simstudioai/sim/pull/7009/files#diff-72139ed47a6fe9576216eb2f23fdfb0698cd9c5b31f0ff0b30e8238a49521860 |
|
image-paste.test.ts
| https://github.com/simstudioai/sim/pull/7009/files#diff-ccd2ec6fcd595115b0e2d1aa420d0631929414ce475ffa6f30787759cb31fb02 |
|
image-paste.ts
| https://github.com/simstudioai/sim/pull/7009/files#diff-87eb80f15520439634b375c322903f3004a3c9a4c7dfea250326f34e4352c3a6 |
|
rich-markdown-editor.tsx
| https://github.com/simstudioai/sim/pull/7009/files#diff-6ddf250be25a5febc97c8c4a2e0f9e93b869e674efbb9bd43358137571ddc05a |
|
embedded-image-refs.test.ts
| https://github.com/simstudioai/sim/pull/7009/files#diff-d0a758f7f2791a8f1052f5ea3c05b35241d27f2398bcaf4695554e2e38b1e061 |
|
embedded-image-refs.ts
| https://github.com/simstudioai/sim/pull/7009/files#diff-cf5d3fa8bd2265bf9d3fbe5de5ca2bb1abfc24d9490cb1acf33b12e4375aa8b0 |
|
embedded-image-refs.test.ts
| https://github.com/simstudioai/sim/pull/7009/files#diff-f7eadaab547b101cb0a2f39b302276b242b7392ffb7e181741f03d23721cea72 |
|
embedded-image-refs.ts
| https://github.com/simstudioai/sim/pull/7009/files#diff-c4f00b90a27b4d5d9763cd2aaf4fafdcac5f21134acb3276bb8ecc17bf4ca938 |
|
embedded-image-ref.test.ts
| https://github.com/simstudioai/sim/pull/7009/files#diff-b7db7b080202d4906f7ca3dbd7fe07cbb295824bcfb2ee9ba9b199a1083fa5da |
|
embedded-image-ref.ts
| https://github.com/simstudioai/sim/pull/7009/files#diff-fe8ca18e5048aad2212ea80c1a2e64ab5ddbae82369e72af17be15473c21a442 |
| apps/sim/app/api/files/export/[id]/route.test.ts | https://github.com/simstudioai/sim/pull/7009/files#diff-cd591b0264baee291a708160d8122658c9999b7e32f09d74b0908bcd874e96fb |
|
View file
| https://github.com/simstudioai/sim/blob/c76fc77f6c10966171bc840c2d4cd5e96a81b3be/apps/sim/app/api/files/export/%5Bid%5D/route.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/7009/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-cd591b0264baee291a708160d8122658c9999b7e32f09d74b0908bcd874e96fb |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-cd591b0264baee291a708160d8122658c9999b7e32f09d74b0908bcd874e96fb |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-cd591b0264baee291a708160d8122658c9999b7e32f09d74b0908bcd874e96fb |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-cd591b0264baee291a708160d8122658c9999b7e32f09d74b0908bcd874e96fb |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-cd591b0264baee291a708160d8122658c9999b7e32f09d74b0908bcd874e96fb |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-cd591b0264baee291a708160d8122658c9999b7e32f09d74b0908bcd874e96fb |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-cd591b0264baee291a708160d8122658c9999b7e32f09d74b0908bcd874e96fb |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-cd591b0264baee291a708160d8122658c9999b7e32f09d74b0908bcd874e96fb |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-cd591b0264baee291a708160d8122658c9999b7e32f09d74b0908bcd874e96fb |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-cd591b0264baee291a708160d8122658c9999b7e32f09d74b0908bcd874e96fb |
| apps/sim/app/api/files/export/[id]/route.ts | https://github.com/simstudioai/sim/pull/7009/files#diff-c1d6d66f4d090c56d722fc0d20b0c02464e9d96959db92ecea1553be66affa6a |
|
View file
| https://github.com/simstudioai/sim/blob/c76fc77f6c10966171bc840c2d4cd5e96a81b3be/apps/sim/app/api/files/export/%5Bid%5D/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/7009/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-c1d6d66f4d090c56d722fc0d20b0c02464e9d96959db92ecea1553be66affa6a |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-c1d6d66f4d090c56d722fc0d20b0c02464e9d96959db92ecea1553be66affa6a |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-c1d6d66f4d090c56d722fc0d20b0c02464e9d96959db92ecea1553be66affa6a |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-c1d6d66f4d090c56d722fc0d20b0c02464e9d96959db92ecea1553be66affa6a |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-c1d6d66f4d090c56d722fc0d20b0c02464e9d96959db92ecea1553be66affa6a |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-c1d6d66f4d090c56d722fc0d20b0c02464e9d96959db92ecea1553be66affa6a |
| apps/sim/app/api/files/public/[token]/inline/route.ts | https://github.com/simstudioai/sim/pull/7009/files#diff-72139ed47a6fe9576216eb2f23fdfb0698cd9c5b31f0ff0b30e8238a49521860 |
|
View file
| https://github.com/simstudioai/sim/blob/c76fc77f6c10966171bc840c2d4cd5e96a81b3be/apps/sim/app/api/files/public/%5Btoken%5D/inline/route.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/7009/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-72139ed47a6fe9576216eb2f23fdfb0698cd9c5b31f0ff0b30e8238a49521860 |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-72139ed47a6fe9576216eb2f23fdfb0698cd9c5b31f0ff0b30e8238a49521860 |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-72139ed47a6fe9576216eb2f23fdfb0698cd9c5b31f0ff0b30e8238a49521860 |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-72139ed47a6fe9576216eb2f23fdfb0698cd9c5b31f0ff0b30e8238a49521860 |
| Please reload this page | https://github.com/simstudioai/sim/pull/7009/files |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-72139ed47a6fe9576216eb2f23fdfb0698cd9c5b31f0ff0b30e8238a49521860 |
| ...space/[workspaceId]/files/components/file-viewer/rich-markdown-editor/image-paste.test.ts | https://github.com/simstudioai/sim/pull/7009/files#diff-ccd2ec6fcd595115b0e2d1aa420d0631929414ce475ffa6f30787759cb31fb02 |
|
View file
| https://github.com/simstudioai/sim/blob/c76fc77f6c10966171bc840c2d4cd5e96a81b3be/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/rich-markdown-editor/image-paste.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/7009/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-ccd2ec6fcd595115b0e2d1aa420d0631929414ce475ffa6f30787759cb31fb02 |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-ccd2ec6fcd595115b0e2d1aa420d0631929414ce475ffa6f30787759cb31fb02 |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-ccd2ec6fcd595115b0e2d1aa420d0631929414ce475ffa6f30787759cb31fb02 |
|
| https://github.com/simstudioai/sim/pull/7009/files#diff-ccd2ec6fcd595115b0e2d1aa420d0631929414ce475ffa6f30787759cb31fb02 |
| Please reload this page | https://github.com/simstudioai/sim/pull/7009/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/7009/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |