Describe the Bug
- TINYAUTH_APPURL=https://tinyauth.domain.com
In the docker-compose, if you add a trailing slash to this url, Tinyauth will pass this to the web browser and cause a broken login link by not trimming it while passing.
IE, instead of https://tinyauth.domain.com/login..., you'll get https://tinyauth.domain.com//login...`, which causes a 404 to be returned.
I'm not savviest person with docker in general, but I somewhat assume this is not intrinsic to docker itself as opposed to Tinyauth's handling of the string.
How to Reproduce
Add a trailing slash to the TINYAUTH_APPURL variable in the docker-compose.
Expected Behavior
For trailing slashes to be trimmed when passed.
Additional Context
No response
Logs
No response
Operating System
Fedora 43
Browser
Firefox (tried chrome too)
Tinyauth Version
v5.0.0
Docker Version (if applicable)
29.5.3
Human Written Confirmation
Describe the Bug
- TINYAUTH_APPURL=https://tinyauth.domain.comIn the docker-compose, if you add a trailing slash to this url, Tinyauth will pass this to the web browser and cause a broken login link by not trimming it while passing.
IE, instead of
https://tinyauth.domain.com/login..., you'll get https://tinyauth.domain.com//login...`, which causes a 404 to be returned.I'm not savviest person with docker in general, but I somewhat assume this is not intrinsic to docker itself as opposed to Tinyauth's handling of the string.
How to Reproduce
Add a trailing slash to the
TINYAUTH_APPURLvariable in the docker-compose.Expected Behavior
For trailing slashes to be trimmed when passed.
Additional Context
No response
Logs
No response
Operating System
Fedora 43
Browser
Firefox (tried chrome too)
Tinyauth Version
v5.0.0
Docker Version (if applicable)
29.5.3
Human Written Confirmation