Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
user.module
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Oct 2021 at 02:16 UTC
Updated:
15 Oct 2021 at 08:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
andypostComment #3
berdirMakes sense I think, the whole thing could also be wrapped into a hasValue, but that's a bigger change and we'd end up checking twice, before and after trim().
Comment #4
alexpott#3 nicely sums why I made the change this way when I made it on #3220021: [meta] Ensure compatibility of Drupal 9 with PHP 8.1 (as it evolves).
Committed 1cdc36b and pushed to 9.3.x. Thanks!