Skip to content

Commit

Permalink
fix: do not escape slaches in file urls
Browse files Browse the repository at this point in the history
  • Loading branch information
qoomon committed Jul 1, 2022
1 parent 1fc9ec6 commit ac4176c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.iml
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ <h2 class="subtitle">{{config.subtitle}}</h2>
}
}

let url = `${(config.bucketMaskUrl || config.bucketUrl).replace(/\/*$/,'')}/${encodeURIComponent(content.key)}`
let url = `${(config.bucketMaskUrl || config.bucketUrl).replace(/\/*$/,'')}/${encodeURI(content.key)}`
let installUrl = undefined
if (url.endsWith('/manifest.plist') && devicePlatform_iOS()) {
// generate manifest.plist install urls
Expand Down

0 comments on commit ac4176c

Please sign in to comment.