Add support for directory separators in baseUrl