Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Tweak to redirect logic for top-level invalid URLs #2533

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

jeffposnick
Copy link
Contributor

Follow-up to #2412, to address the bug that URLs like https://developer.chrome.com/badurl (i.e. invalid URLs whose pathname does not contain multiple /) are currently returning an HTTP 302 with an empty Location: response header, when they should be returning an HTTP 404.

@jeffposnick jeffposnick requested a review from devnook April 4, 2022 19:22
@netlify
Copy link

netlify bot commented Apr 4, 2022

Deploy Preview for developer-chrome-com ready!

Name Link
🔨 Latest commit 156bac7
🔍 Latest deploy log https://app.netlify.com/sites/developer-chrome-com/deploys/624b45763734fc000952dbf3
😎 Deploy Preview https://deploy-preview-2533--developer-chrome-com.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants