aboutsummaryrefslogtreecommitdiff
path: root/ui/src/app/app.component.html
diff options
context:
space:
mode:
authorAlex Shnitman <alexta69@gmail.com>2022-01-14 09:11:03 +0200
committerAlex Shnitman <alexta69@gmail.com>2022-01-14 09:11:03 +0200
commit622ca428e3b38084a35f43552b0fb504416078a7 (patch)
tree88b359fa4c4bad163a1c387fcd61e19572ef9593 /ui/src/app/app.component.html
parentMerge pull request #99 from Erazor2/RealRetry (diff)
downloadmetube-622ca428e3b38084a35f43552b0fb504416078a7.tar.gz
metube-622ca428e3b38084a35f43552b0fb504416078a7.tar.bz2
metube-622ca428e3b38084a35f43552b0fb504416078a7.zip
encode download links (closes #104)
Diffstat (limited to 'ui/src/app/app.component.html')
-rw-r--r--ui/src/app/app.component.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html
index f681f79..bf76694 100644
--- a/ui/src/app/app.component.html
+++ b/ui/src/app/app.component.html
@@ -120,7 +120,7 @@
<fa-icon *ngIf="download.value.status == 'finished'" [icon]="faCheckCircle" style="color: green;"></fa-icon>
<fa-icon *ngIf="download.value.status == 'error'" [icon]="faTimesCircle" style="color: red;"></fa-icon>
</div>
- <span ngbTooltip="{{download.value.msg}}"><a *ngIf="!!download.value.filename; else noDownloadLink" href="download/{{download.value.filename}}" target="_blank">{{ download.value.title }}</a></span>
+ <span ngbTooltip="{{download.value.msg}}"><a *ngIf="!!download.value.filename; else noDownloadLink" href="download/{{download.value.filename | encodeURIComponent}}" target="_blank">{{ download.value.title }}</a></span>
<ng-template #noDownloadLink>{{ download.value.title }}</ng-template>
</td>
<td>
bgstack15