Index: branches/wmf/1.19wmf1/extensions/MobileFrontend/MobileFrontend.body.php |
— | — | @@ -1341,7 +1341,7 @@ |
1342 | 1342 | $mobileToken = preg_replace( "/%h[0-9]\.{0,1}/", "", $mobileUrlHostTemplate ); |
1343 | 1343 | |
1344 | 1344 | // replace the mobile token with nothing, resulting in the normal hostname |
1345 | | - $parsedUrl['host'] = str_replace( $mobileToken, '', $parsedUrl['host'] ); |
| 1345 | + $parsedUrl['host'] = str_replace( '.' . $mobileToken, '.', $parsedUrl['host'] ); |
1346 | 1346 | } |
1347 | 1347 | |
1348 | 1348 | /** |