Skip to content

[$250] Attachments - Markdown image URLs are not cached #85557

@nlemma

Description

@nlemma

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.3.39-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #65321
Email or phone of affected tester (no customers): applausetester+ap16@applause.expensifail.com
Issue reported by: Applause Internal Team
Bug source: Pull Request QA execution
Device used: Windows 11
App Component: Other

Action Performed:

  1. Open the web app in Chrome.
  2. Open browser DevTools.
  3. Navigate to the Application tab.
  4. Open Cache Storage and select “attachments”.
  5. Log in with a valid account.
  6. Navigate to any chat.
  7. Click on the message composer.
  8. Enter a markdown image URL (e.g. ![](https://images.unsplash.com/photo-1726066012751-2adfb5485977?w=100)).
  9. Send the message.
  10. Refresh the Cache Storage entries.
  11. Search for the corresponding attachment entry.

Expected Result:

Markdown image attachments are stored in Cache API and available in the attachments storage.

Actual Result:

The markdown image is rendered in the chat.

No entry is created in Cache Storage for the attachment.

Directly uploaded image files are stored correctly, but markdown image URLs are not cached.

This creates inconsistent behavior between attachment types and affects offline availability.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

480353246-5596dd5c-780e-4e8b-940b-a35ebdc7ff05.mov

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @NJ-2020
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~022033934689417948972
  • Upwork Job ID: 2033934689417948972
  • Last Price Increase: 2026-03-17
  • Automatic offers:
    • NJ-2020 | Contributor | 110867641

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions