When there is already a redirect on the database, but you try to add it with a trailing slash there is a fatal error:
1062 Duplicate entry for key 'hash'
Add the rtrim($path, '/');
similar to
2932615 - Don't allow adding source paths with trailing slashes, they won't ever work →
but to the generateHash
function on src/Entity/Redirect.php
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.