Jump to main content

Nicolas Hoizey

  • articles
  • billets
  • links
  • notes
  • talks
  • archives
  • about

Note from 29 July 2022

  • Nicolas Hoizey
  • 29 July 2022
  • 404, Cloudflare, HTTP
  • 1 reaction

Some tools transform URLs into links, but if the URL was inside parentheses, the link href sometimes contains the closing ), so the user gets a 404 error… 🤦‍♂️

Fix this on #Cloudflare Pages with a _redirect file:

/*) /:splat 301

1 reaction

1 repost

  1. Coralie Mercier avatar
  • Older: Note from 29 July 2022
  • Newer: Note from 29 July 2022

Related content with similar topics

  1. Note from 15 March 2022

    • Nicolas Hoizey
    • 15 March 2022
    • Cloudflare, Fastly, HTTP, WebPerf
    • 3 reactions

    TIL: #Cloudflare doesn't support the Vary HTTP header, which means the origin server can't do any content negotiation, for example send WebP or AVIF for a JPEG request…

    https://developers.cloudflare.com/cache/about/cache-control/#other

    #Fastly supports it, just saying… 😅

If you want to share an error or suggest an enhancement of this content, please edit the source on GitHub.

© Nicolas Hoizey

Built with Eleventy