Clearing AliasManager cache with root path raises warning

Created on 25 January 2018, almost 7 years ago
Updated 24 April 2023, over 1 year ago

If you try to clear the AliasManager cache for the root path / then PHP will raise a warning: array_key_exists(): The first argument should be either a string or an integer AliasWhitelist.php:95

The reason for this is that strtok('/', '/') will return FALSE.

๐Ÿ› Bug report
Status

Needs work

Version

9.5

Component
Baseย  โ†’

Last updated about 1 hour ago

Created by

๐Ÿ‡ฉ๐Ÿ‡ฐDenmark kasperg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024