Problem/Motivation
As a result of work done in #3448498: Public method Redirect::generateHash() should unify path before generating the hash, the path is converted to lowercase when generating the hash. That should be unnecessary.
public static function generateHash($source_path, array $source_query, $language) {
// Remove leading and trailing slashes, and convert to lowercase.
$source_path = trim(mb_strtolower($source_path), '/');
$hash = [
'source' => mb_strtolower($source_path),
Proposed resolution
Remove duplicate use of mb_strtolower
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | redirect.double-lowercase-conversion-3525915-2.patch | 699 bytes | krystalcode |
Issue fork redirect-3525915
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
krystalcode commentedComment #5
alexpottNice find @krystalcode - I converted your patch into a MR to make things easier for the maintainers.
Comment #8
berdirMerged.