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 1f8a8d4 commit d0490f2Copy full SHA for d0490f2
index.js
@@ -76,7 +76,7 @@ class NetlifyPaths {
76
fixPath(imagePath) {
77
let out = imagePath
78
if (imagePath !== undefined) {
79
- if (/^\w/.test(imagePath) && !/:\/\//.test(imagePath))
+ if (/^\w/.test(imagePath) && !/^[a-z][a-z0-9+.-]*:/i.test(imagePath))
80
out = path.join(this.mediaFolder, imagePath)
81
else if (imagePath.startsWith(this.publicFolder))
82
out = path.join(
0 commit comments