[PR #1140] [MERGED] Strip a trailing slash off of server URLs #10602

Closed
opened 2026-04-10 20:38:17 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/1140
Author: @j-f1
Created: 6/15/2023
Status: Merged
Merged: 6/16/2023
Merged by: @j-f1

Base: masterHead: jed/trailing-slash


📝 Commits (3)

  • 9dccb64 Strip a trailing slash off of server URLs
  • d14b049 Add release note
  • 1f2ec30 Strip multiple trailing slashes if present

📊 Changes

2 files changed (+8 additions, -0 deletions)

View changed files

📝 packages/loot-core/src/server/main.ts (+2 -0)
upcoming-release-notes/1140.md (+6 -0)

📄 Description

URLs with the trailing slash don’t work well — requests end up being made to https://example.com//sync/sync and such which can 404


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/1140 **Author:** [@j-f1](https://github.com/j-f1) **Created:** 6/15/2023 **Status:** ✅ Merged **Merged:** 6/16/2023 **Merged by:** [@j-f1](https://github.com/j-f1) **Base:** `master` ← **Head:** `jed/trailing-slash` --- ### 📝 Commits (3) - [`9dccb64`](https://github.com/actualbudget/actual/commit/9dccb6459854ae745ca7b97a0b3eb9452e10d153) Strip a trailing slash off of server URLs - [`d14b049`](https://github.com/actualbudget/actual/commit/d14b049f7c91c64e4f22a34a643c6671a62622d2) Add release note - [`1f2ec30`](https://github.com/actualbudget/actual/commit/1f2ec309f65fb5bac7f57119f01fd77a88a91261) Strip multiple trailing slashes if present ### 📊 Changes **2 files changed** (+8 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/main.ts` (+2 -0) ➕ `upcoming-release-notes/1140.md` (+6 -0) </details> ### 📄 Description URLs with the trailing slash don’t work well — requests end up being made to `https://example.com//sync/sync` and such which can 404 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-10 20:38:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#10602