Subpath handling for Gotify (#533)#875
Merged
eternal-flame-AD merged 1 commit intogotify:masterfrom Nov 19, 2025
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #875 +/- ##
=======================================
Coverage 79.14% 79.15%
=======================================
Files 56 56
Lines 2225 2226 +1
=======================================
+ Hits 1761 1762 +1
Misses 360 360
Partials 104 104 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
eternal-flame-AD
approved these changes
Nov 18, 2025
Member
eternal-flame-AD
left a comment
There was a problem hiding this comment.
Thanks! Nice work also making it work on proxies.
I will let Jannis take a look if he has time today otherwise I will merge it tomorrow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes an issue where Gotify does not normalize URLs, which can lead to double slashes (e.g.,
http://localhost//message) causing 404 errors.Before:


After:
Test Proxies
Apache
Result:

Apache subpath
Result:

Caddy
Result:

Caddy subpath
Result:

Haproxy
Result:

NGINX
Result:

NGINX subpath
Traefik
Result:
