diff options
author | Alex Shnitman <alexta69@gmail.com> | 2022-01-14 09:11:03 +0200 |
---|---|---|
committer | Alex Shnitman <alexta69@gmail.com> | 2022-01-14 09:11:03 +0200 |
commit | 622ca428e3b38084a35f43552b0fb504416078a7 (patch) | |
tree | 88b359fa4c4bad163a1c387fcd61e19572ef9593 /ui/src/app/app.component.html | |
parent | Merge pull request #99 from Erazor2/RealRetry (diff) | |
download | metube-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.html | 2 |
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> |