userFrameworkResourceURL gets wrong trailing slash on windows
It doesn't seem to cause too many problems, and I'd be hesitant to touch such a widely used thing, but in CRM/Utils/System/Base.php in getCiviSourceStorage() it returns this:
'url' => CRM_Utils_File::addTrailingSlash($userFrameworkResourceURL),
It should probably be:
'url' => CRM_Utils_File::addTrailingSlash($userFrameworkResourceURL, '/'),
So currently on windows you get a
\ at the end of the url. This comes up for example in the system status check where it will always tell you the resource url is wrong. I've been noticing it for a long time just hadn't got around to tracking it down, and a workaround of course is to just set the url setting manually (although then you get the status check blue nudge message about portability).
This is drupal 7, but it would probably be similar for others. For drupal 8 I needed manual overrides anyway because of the