fix(api): Escape endpoint key in URL for raw APIs#1381
Merged
TwiN merged 1 commit intoTwiN:masterfrom Nov 7, 2025
Merged
Conversation
Nedra1998
referenced
this pull request
in glanceapp/community-widgets
Nov 7, 2025
alexlebens
pushed a commit
to alexlebens/infrastructure
that referenced
this pull request
Nov 14, 2025
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/twin/gatus](https://github.com/TwiN/gatus) | minor | `v5.30.0` -> `v5.31.0` | --- ### Release Notes <details> <summary>TwiN/gatus (ghcr.io/twin/gatus)</summary> ### [`v5.31.0`](https://github.com/TwiN/gatus/releases/tag/v5.31.0) [Compare Source](TwiN/gatus@v5.30.0...v5.31.0) Highlight of this release are the ability to mark announcements as "archived", which renders said announcements in a new `Past Announcements` section at the bottom of the status page (only rendered if there is at least 1 archived announcements), support for markdown in announcements and support for monitoring gRPC health endpoints. <img width="1166" height="556" alt="image" src="https://github.com/user-attachments/assets/d22a0ea7-c035-4c35-a148-6de097a357b7" /> #### What's Changed * feat(announcements): Add support for archived announcements and add past announcement section in UI by @​TwiN in TwiN/gatus#1382 * feat(announcements): add markdown support by @​Sworyz in TwiN/gatus#1371 * feat(client): Add support for monitoring gRPC endpoints by @​diamanat in TwiN/gatus#1376 * fix(client): update icmp/ping logic to determine pinger privileged mode by @​h3mmy in TwiN/gatus#1346 * fix(api): Escape endpoint key in URL for raw APIs by @​Nedra1998 in TwiN/gatus#1381 * docs(readme): adds ECS fargate module in README by @​GiamPy5 in TwiN/gatus#1377 #### New Contributors * @​GiamPy5 made their first contribution in TwiN/gatus#1377 * @​h3mmy made their first contribution in TwiN/gatus#1346 * @​diamanat made their first contribution in TwiN/gatus#1376 * @​Nedra1998 made their first contribution in TwiN/gatus#1381 * @​Sworyz made their first contribution in TwiN/gatus#1371 **Full Changelog**: <TwiN/gatus@v5.30.0...v5.31.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41LjAiLCJ1cGRhdGVkSW5WZXIiOiI0Mi41LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImltYWdlIl19--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/2008 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
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.
Summary
The raw API endpoints don't escape the endpoint key in the URL properly, while the other API endpoints (badges/chart) do. This results in cases where:
is a 404 but
returns a 200.
This change just copies the previous fix from #1114 and applies it to the raw API endpoins as well.
Checklist
東京and confirmed API was now returning successfully.README.md, if applicable.