allen-cell-animated / timelapse-colorizer

A web-based, time-series visualizer for tracked segmented data.
Other
7 stars 1 forks source link

GH 404 redirect fails when the page actually doesn't exist #392

Open ShrimpCryptid opened 1 week ago

ShrimpCryptid commented 1 week ago

Description

When opening pages that don't exist, the GitHub 404 page ends up in an endless loop that continually extends the URL.

You end up with URLs that look like this:

https://allen-cell-animated.github.io/timelapse-colorizer/pr-preview/does-not-exist/?/&/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/~and~/

Expected Behavior

Page should stop or only attempt to do the redirect once.

Reproduction

Environment

Any additional information about your environment. E.g. OS version, python version, browser etc.