return [
[ '/path/to/drupal#uri' ],
[ 'user@server/path/to/drupal#uri' ],
+ [ 'user.name@example.com/path/to/drupal#uri' ],
[ 'user@server/path/to/drupal' ],
+ [ 'user@example.com/path/to/drupal' ],
[ 'user@server#uri' ],
+ [ 'user@example.com#uri' ],
[ '#uri' ],
];
}
],
],
+ [
+ 'user.name@example.com/path#somemultisite',
+ [
+ 'user' => 'user.name',
+ 'host' => 'example.com',
+ 'root' => '/path',
+ 'uri' => 'somemultisite',
+ ],
+ ],
+
[
'user@server/path',
[
],
],
+ [
+ 'user.name@example.com/path',
+ [
+ 'user' => 'user.name',
+ 'host' => 'example.com',
+ 'root' => '/path',
+ 'uri' => 'default',
+ ],
+ ],
+
[
'/fixtures#mymultisite',
[