[PR #7788] [MERGED] [AI] Sync server: harden CORS proxy method validation #126819

Closed
opened 2026-06-14 06:14:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/7788
Author: @MatissJanis
Created: 5/10/2026
Status: Merged
Merged: 5/10/2026
Merged by: @MatissJanis

Base: masterHead: ai/fix-cors-proxy-method-bypass


📝 Commits (3)

  • 96778b1 [AI] Sync server: harden CORS proxy method validation
  • 4a629f5 [AI] Polish release notes wording
  • 355b824 Rename 7787.md to 7788.md

📊 Changes

3 files changed (+61 additions, -14 deletions)

View changed files

📝 packages/sync-server/src/app-cors-proxy.js (+6 -14)
📝 packages/sync-server/src/app-cors-proxy.test.js (+49 -0)
upcoming-release-notes/7788.md (+6 -0)

📄 Description

Description

Harden the CORS proxy validation

n/a

Testing

See inline unit tests

Checklist

  • Release notes added (see link above)
  • No obvious regressions in affected areas
  • Self-review has been performed - I understand what each change in the code does and why it is needed

🔄 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/7788 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 5/10/2026 **Status:** ✅ Merged **Merged:** 5/10/2026 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `ai/fix-cors-proxy-method-bypass` --- ### 📝 Commits (3) - [`96778b1`](https://github.com/actualbudget/actual/commit/96778b136096c6ea2ed8f7c4f16c62e3efb5d0a9) [AI] Sync server: harden CORS proxy method validation - [`4a629f5`](https://github.com/actualbudget/actual/commit/4a629f56d4fc803351ed3212bb8d4a12a1f94dcb) [AI] Polish release notes wording - [`355b824`](https://github.com/actualbudget/actual/commit/355b824d9d424c8fb58f2afa8d1655dfe30ad9a4) Rename 7787.md to 7788.md ### 📊 Changes **3 files changed** (+61 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `packages/sync-server/src/app-cors-proxy.js` (+6 -14) 📝 `packages/sync-server/src/app-cors-proxy.test.js` (+49 -0) ➕ `upcoming-release-notes/7788.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://actualbudget.org/docs/contributing/#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> ## Description <!-- What does this PR do? Why is it needed? Please give context on the "why?": why do we need this change? What problem is it solving for you?--> Harden the CORS proxy validation ## Related issue(s) <!-- e.g. Fixes #123, Relates to #456 --> n/a ## Testing <!-- What did you test? How can we reproduce the issue you are fixing or how can we test the feature you built? --> See inline unit tests ## Checklist - [x] Release notes added (see link above) - [x] No obvious regressions in affected areas - [x] Self-review has been performed - I understand what each change in the code does and why it is needed <!--- actual-bot-sections ---> --- <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-06-14 06:14:41 -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#126819