mkdocs / mkdocs-redirects

Open source plugin for Mkdocs page redirects
MIT License
176 stars 25 forks source link

Uppercase to Lowercase redirect result in weird loop #43

Open TRaSH- opened 2 years ago

TRaSH- commented 2 years ago

I'm trying to be more consistent with my Guide that runs on mkdocs

and i have a few pages i want to switch from upper case to lower case, but wanted for compatibility create redirects

Sonarr/Sonarr-recommended-naming-scheme.md: Sonarr/sonarr-recommended-naming-scheme.md
Sonarr/Sonarr-Release-Profile-RegEx.md: Sonarr/sonarr-release-profile-regex.md
Sonarr/Sonarr-remote-path-mapping.md: Sonarr/sonarr-remote-path-mapping.md

But when testing this on my local setup it looks like it loops or get's stuck

image

TRaSH- commented 2 years ago

After some testing, it seems to be only a issue when you use windows and run it locally on your test setup.

wwarriner commented 1 year ago

I happened to stumble on this infinite redirection loop myself today on my Windows machine. Works fine in our production docs on GitHub.