Active
Project:
Redirect
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2021 at 17:25 UTC
Updated:
6 Aug 2024 at 14:50 UTC
Jump to comment: Most recent
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
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
anybodyComment #4
anybody