Skip to content

Commit 08a7d35

Browse files
authored
Merge pull request #88 from JosephDev/master
Return decoded URL
2 parents 20a8c55 + 2f1e039 commit 08a7d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s3direct/static/s3direct/js/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
var parseURL = function(text) {
3636
var xml = new DOMParser().parseFromString(text, 'text/xml'),
3737
tag = xml.getElementsByTagName('Location')[0],
38-
url = tag.childNodes[0].nodeValue
38+
url = decodeURIComponent(tag.childNodes[0].nodeValue)
3939

4040
return url;
4141
}

0 commit comments

Comments
 (0)