registration: Avoid double slashes in localBasePath
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 16 Feb 2016 20:39:34 +0000 (20:39 +0000)
committerKunal Mehta <legoktm@member.fsf.org>
Thu, 18 Feb 2016 18:25:02 +0000 (10:25 -0800)
commit04362aa6130163c369f596be83b4233d21b112c1
treeb6749e001e2895fa612cb51699b879963b0acce3
parent858183e87a86aabbaa165c1d8b3665a9a7d6d688
registration: Avoid double slashes in localBasePath

Noticed it in APC usage for ResourceLoader that various keys from
FileContentsHasher contain double slashes. All from extensions that
use the `"localBasePath": ""` trick in extension.json (e.g. Citoid).

Change-Id: I5bac1e2e05e063aa7ff251ce7ffaa965a3451db9
includes/registration/ExtensionProcessor.php
tests/phpunit/includes/registration/ExtensionProcessorTest.php