Fix RestbaseVirtualRESTService URL standardization
authorGergő Tisza <gtisza@wikimedia.org>
Sat, 26 Aug 2017 00:32:15 +0000 (00:32 +0000)
committerGergő Tisza <gtisza@wikimedia.org>
Sat, 26 Aug 2017 00:32:15 +0000 (00:32 +0000)
commita3c61d717e346e5e848adc6914cd62f7126badea
tree3a7a55e08fd4272661c15190be1b0844a68d5e8c
parent5bb2ceb7e9678bbe0f202dd05f857007b6101f8e
Fix RestbaseVirtualRESTService URL standardization

The regex /?$ will add a second slash to URLs which already end
in a slash (since it will match both the trailing slash and the
empty position after it), which is enough to trip up HyperSwitch.

Change-Id: I675f8252a2496ace4d6c364a869776dff604df59
includes/libs/virtualrest/RestbaseVirtualRESTService.php