Needs review
Project:
Invite
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2025 at 16:29 UTC
Updated:
3 Jul 2025 at 12:17 UTC
Jump to comment: Most recent
When invites are generated they sometimes contain characters that break routing, for example I had one that generated a "/" in it which through the following error.
Parameter "invite" for route "invite.invite_accept_accept" must match "[^/]++" ("jE/2uqprEk" given) to generate a corresponding URL.
Change the invite codes to be url safe instead of using a password generator.
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
josh.fabeanCreated method to generate URL safe codes.
Comment #4
renatog commentedMaybe the solution on #3 works, however just as a curiosity, isn’t possible implementing this with Regex?
Comment #5
renatog commentedNVM, please ignore my question above. Regex is for matching, not creating
So seems good, thanks
Comment #6
renatog commented