-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
BUGFIX: Trim leading and tailing whitespaces #3860
base: 8.3
Are you sure you want to change the base?
Conversation
Whitespaces like a tab can lead to a 404 error if a URL has been pasted to a LinkEditor or LinkInput. As datasources, assets, URLs and slugs should not start with a whitespace, we can remove them. Fixes: neos#3859
If I missed something, please let me know. Also thought about an editor option to trim that, but that would be more a feature than a bug fix then. trimed-link.mp4 |
Ensure that searchTerm is a string before trimming the value.
The acceptance tests will run when #3855 has been merged. At the moment they are broken. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me by reading, thx!
Thanks for having a look! |
Whitespaces like a tab can lead to a 404 error if a URL has been pasted to a
LinkEditor
orLinkInput
.As data sources, assets, URLs and slugs should not start with a whitespace, we can remove them.
Fixes: #3859