-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
How to reproduce (with today's 8.0.x-dev):
- Have a drupal 7.x multisite containing a site named "foo", publicly accessible as http://www.foo.com
(...and some "default" site) - $sites.php maps www.foo.com to foo
- some modules need the correct $SERVER['host'] also in drush calls, so sites/foo/drushrc.php contains uri = www.foo.com and sites/default/drushrc.php contains uri = www.default.com
Now do
drush @sites sa @self
which internally does
drush --uri=foo sa @self
Expected: uri=http://www.foo.com
Experienced: uri=default
(At least i think these are the relevant things to reproduce...)
The real-world trouple is a multisite, that caches links with wrong base_url in drush cc all.