By grevil on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
Introduced in version:
Issue links:
Description:
Trimming, a path alias has changed from trimming all slashes, backslashes and white spaces at the end of a string, using rtrim, to using a dedicated method called trimAlias, defined in /core/modules/path_alias/src/Entity/PathAlias.php. This function has a similar approach, where it also trims the above, but additionally ignores a single slash. This way, root ("/") can be used as a valid path alias without it being trimmed.
Impacts:
Module developers