You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The /:version/* https://github.com/getporter/porter/releases/download/:version/:splat 302 redirect rule in our netlify _redirects file causes all web requests that would have been a 404 on our site, to instead be a 404 on github. This is annoying because there's no easy way to get back to the porter website from the github 404.
However, this redirection is used in our install.sh scripts, and are curled to download porter. So we cannot remove it without also changing our install script.
Ideally, we would just make the redirection less general, to only match something of the format "vX.Y.Z", but that seems impossible with netlify redirection syntax.
Describe the bug
The
/:version/* https://github.com/getporter/porter/releases/download/:version/:splat 302
redirect rule in our netlify _redirects file causes all web requests that would have been a 404 on our site, to instead be a 404 on github. This is annoying because there's no easy way to get back to the porter website from the github 404.However, this redirection is used in our install.sh scripts, and are curled to download porter. So we cannot remove it without also changing our install script.
Ideally, we would just make the redirection less general, to only match something of the format "vX.Y.Z", but that seems impossible with netlify redirection syntax.
To Reproduce
go to any website that doesn't exist, and you'll be redirected to github instead, e.g https://getporter.org/idontexist
Expected behavior
We should get shown the porter 404 page, not the github one.
The text was updated successfully, but these errors were encountered: