Skip to content

Commit 60c65e0

Browse files
fix: characters as URL escapes in url (#1013)
1 parent 8e8ab18 commit 60c65e0

File tree

4 files changed

+850
-4
lines changed

4 files changed

+850
-4
lines changed

src/plugins/postcss-url-parser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function getUrlsFromValue(value, result, filter, decl) {
7777
}
7878

7979
const splittedUrl = url.split(/(\?)?#/);
80-
let [normalizedUrl] = splittedUrl;
80+
let normalizedUrl = decodeURIComponent(splittedUrl[0]);
8181
const [, singleQuery, hashValue] = splittedUrl;
8282
const hash =
8383
singleQuery || hashValue

0 commit comments

Comments
 (0)