Skip to content

Cloudflare partner SVG logo does not render in GitHub README due to external SVG restrictions #10088

@ravin00

Description

@ravin00

Describe the bug

The Cloudflare partner logo SVG referenced from https://tanstack.com/assets/... does not render in the GitHub README. Other partner logos render correctly, but the Cloudflare SVG appears blank when viewed on GitHub.

This seems to be caused by external SVG hotlinking restrictions (CSP / CORP headers) applied by the asset host, which prevents GitHub from embedding the SVG.

Your minimal, reproducible example

https://tanstack.com/query/latest/docs/framework/react/examples/simple

Steps to reproduce

  1. Open the TanStack Query repository README on GitHub
  2. Scroll to the Partners section
  3. Observe that the Cloudflare logo does not appear

Expected behavior

The Cloudflare partner logo should render consistently in the GitHub README, similar to other partner logos.

How often does this bug happen?

Every time

Screenshots or Videos

Image

The Cloudflare logo area appears blank in the Partners section, while other partner logos load correctly.

Platform

  • OS: macOS
  • Browser: Chrome / Safari / Firefox
  • Browser version: Latest
  • Platform: GitHub README renderer

Tanstack Query adapter

None

TanStack Query version

documentation issue

TypeScript version

No response

Additional context

GitHub blocks or sanitizes externally hosted SVGs that are served with restrictive security headers.
A potential fix would be to:

  • Store the Cloudflare SVG locally in the repository, or
  • Serve the logo from a GitHub-friendly CDN (e.g. raw.githubusercontent.com)

This aligns with how many other OSS projects handle partner logos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions