Normalize trailing slashes in URLs #30
Labels
infrastructure
May need updates outside of application code
low priority
Things to do when everything else is working
Some routes return 307s when sent without a trailing slash. Some return 307 when sent with one. We should make the slash irrelevant and just return the response.
FastAPI doesn't fully support this nicely, so the way to do it is probably with a combination of making sure the line without the trailing slash is always the canonical one (this is not true for router roots), then strip the slash in the nginx proxy.
The text was updated successfully, but these errors were encountered: