gitforge/modules/activitypub
elle da8d5a8aef activitypub: restrict HTTP redirects (#13369)
Restricts the ActivityPub `Client`'s inner HTTP client to disallow HTTP redirects.

Resolves: #13368

## Checklist

The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. All work and communication must conform to Forgejo's [AI Agreement](https://codeberg.org/forgejo/governance/src/branch/main/AIAgreement.md). There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org).

### Tests for Go changes

- I added test coverage for Go changes...
  - [x] in their respective `*_test.go` for unit tests.
- I ran...
  - [x] `make pr-go` before pushing

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13369
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
2026-07-10 01:14:44 +02:00
..
client.go activitypub: restrict HTTP redirects (#13369) 2026-07-10 01:14:44 +02:00
client_test.go activitypub: restrict HTTP redirects (#13369) 2026-07-10 01:14:44 +02:00
main_test.go
user_settings.go
user_settings_test.go