Keep dashboard Gitea links on the configured forge origin #1073

Merged
rockachopa merged 1 commits from timmy/1072-configured-forge-link-boundary into main 2026-08-18 09:04:36 +00:00
Member

Closes #1072

What changed

  • route all user-facing Gitea issue, pull, notification, comment, attachment, dependency, and review URLs through the configured-origin/subpath boundary
  • reject cross-origin and scheme-downgraded URLs while canonicalizing valid relative URLs
  • align mocked upstream fixtures with the configured test forge and document GITEA_URL as a browser-link trust boundary

Verification

  • RED: new global-search origin test failed by retaining the attacker URL and dropping the valid relative URL
  • focused: 196 passed
  • full: 2017 passed, 7 skipped
  • dependency audit: no known vulnerabilities
  • deterministic release bundle checksum: OK
Closes #1072 ## What changed - route all user-facing Gitea issue, pull, notification, comment, attachment, dependency, and review URLs through the configured-origin/subpath boundary - reject cross-origin and scheme-downgraded URLs while canonicalizing valid relative URLs - align mocked upstream fixtures with the configured test forge and document `GITEA_URL` as a browser-link trust boundary ## Verification - RED: new global-search origin test failed by retaining the attacker URL and dropping the valid relative URL - focused: `196 passed` - full: `2017 passed, 7 skipped` - dependency audit: no known vulnerabilities - deterministic release bundle checksum: OK
rockachopa added 1 commit 2026-08-18 08:59:03 +00:00
fix: keep Gitea links on configured forge (Closes #1072)
All checks were successful
CI / lint (pull_request) Successful in 2m47s
CI / build-release (pull_request) Successful in 6s
CI / browser-journey (pull_request) Successful in 2m8s
CI / release-candidate (pull_request) Has been skipped
79f6cecab4
rockachopa merged commit fb7bfe0a5d into main 2026-08-18 09:04:36 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#1073
No description provided.