We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ff14e commit aa5fc70Copy full SHA for aa5fc70
libs/url/builder.js
@@ -62,12 +62,10 @@ module.exports.buildURL = function(opts) {
62
if(transformationUtils.addAsQueryParameter(opts) || isSrcParameterUsedForURL) {
63
queryParameters.set(TRANSFORMATION_PARAMETER, transformationString);
64
} else {
65
- urlObject.pathname = path.join(
+ urlObject.pathname = path.posix.join(
66
[TRANSFORMATION_PARAMETER, transformationString].join(transformationUtils.getChainTransformDelimiter()),
67
urlObject.pathname
68
- // Fix for Windows pathnames having backslashes instead of forward slashes.
69
- // TODO: Replace path.join with a different library.
70
- ).replace("\\", "/")
+ )
71
}
72
73
0 commit comments