Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small StringHelper::toHandle improvements #15772

Closed
wants to merge 1 commit into from

Conversation

lexisother
Copy link

Description

Now also replaces !, ,, / & \ as these are all invalid characters in handles.

@brandonkelly
Copy link
Member

Thanks for the PR! Fixed this for the next Craft 4 and 5 releases by excluding all non-alphanumeric/underscore characters (979e992).

@brandonkelly
Copy link
Member

Craft 4.12.4 and 5.4.5 are out with that fix. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants