- πΈπͺSweden twod SwedenA patch equivalent to the current PR was applied as part of π Code error url fragment: wrong array key: key #fragment should be fragment Fixed , including test coverage. 
 #6 was not addressed though.
- Status changed to Closed: duplicateover 2 years ago 12:26pm 14 June 2023
- πͺπΈSpain eduardo morales alberti Spain, πͺπΊMerged on https://www.drupal.org/project/drupal/issues/3331870 π Code error url fragment: wrong array key: key #fragment should be fragment Fixed 
- π«π·France Chris64 FranceFor #6, yes good idea. What should be the exact use of Url::fromUri()in that context? The function need two arguments:string $uri,array $options: (optional). No key'path'. See Url::fromUri. Then some thing like,$path = $options['path']; unset($options['path']); $url = Url::fromUri($path, $options)->toString();