Skip to content

Commit

Permalink
BC-8778 Change Download File Name add URI Encode (#3043)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Triebel <[email protected]>
Co-authored-by: Martin Schuhmacher <[email protected]>
  • Loading branch information
3 people authored Jan 23, 2025
1 parent a5e6c97 commit 9478d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/files/files-grid.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<i aria-hidden="true" class="fa fa-exclamation-triangle"></i>
</button>
{{else}}
<button data-href="/files/file?download=true&file={{../this._id}}&name={{../this.storageFileName}}"
<button data-href="/files/file?download=true&file={{../this._id}}&name={{encodeURI ../this.saveName}}"
class="file-btn"
data-testid="file-download-btn"
data-method="download"
Expand Down

0 comments on commit 9478d50

Please sign in to comment.