forgejo/services/federation
elle f790d4dfe0 bug: signature: modify URL after error check (#10204)
Modifies the parsed URL after the error check.

Avoids a potential `nil`-pointer de-reference if an invalid URL string argument is provided. No current code path triggers the `nil`-pointer de-reference.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10204
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: elle <0xllx0@noreply.codeberg.org>
Co-committed-by: elle <0xllx0@noreply.codeberg.org>
2025-12-03 16:53:19 +01:00
..
delivery_queue.go Add ActivityPub Person follow from distant (#8720) 2025-08-03 11:55:01 +02:00
error.go fix: assorted ActivityPub code only refactors (#8708) 2025-07-28 15:17:29 +02:00
federation_service.go Add ActivityPub Person follow from distant (#8720) 2025-08-03 11:55:01 +02:00
person_inbox_accept.go Sent user activities to distant federated server (#8792) 2025-08-06 16:16:13 +02:00
person_inbox_create.go Sent user activities to distant federated server (#8792) 2025-08-06 16:16:13 +02:00
person_inbox_follow.go Add ActivityPub Person follow from distant (#8720) 2025-08-03 11:55:01 +02:00
person_inbox_undo.go Add ActivityPub Person follow from distant (#8720) 2025-08-03 11:55:01 +02:00
person_service.go chore: ensure consistent import aliasing for services and models (#10253) 2025-11-30 17:00:57 +01:00
repository_inbox_like.go chore: ensure consistent import aliasing for services and models (#10253) 2025-11-30 17:00:57 +01:00
repository_service.go fix: assorted ActivityPub code only refactors (#8708) 2025-07-28 15:17:29 +02:00
result.go fix: assorted ActivityPub code only refactors (#8708) 2025-07-28 15:17:29 +02:00
signature_service.go bug: signature: modify URL after error check (#10204) 2025-12-03 16:53:19 +01:00
user_activity.go Sent user activities to distant federated server (#8792) 2025-08-06 16:16:13 +02:00