Skip to content

Internal Server Error when receiving Activities with an invalid DateTime property #226

@allouis

Description

@allouis

If an activity is received which has an invalid DateTime property, for example the updated property, Fedify will throw an Internal Server Error - this can cause monitoring alerts to be triggered.

An example of malformed Activities can be found here:

https://socialwebfoundation.org/wp-json/activitypub/1.0/actors/0/outbox?page=1

They have an updated property like 2025-01-01 12:34:56 rather than 2025-01-01T12:34:56Z

I would expect that Fedify respond with a 400 or similar in this case

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions