Skip to content

Commit

Permalink
Merge pull request DSpace#2313 from 4Science/fix-duplicate-headers
Browse files Browse the repository at this point in the history
[CST-5729] Fix duplicate links for download page
  • Loading branch information
tdonohue committed Jun 15, 2023
2 parents 7ebdcd3 + 47543b4 commit 12f9023
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ export class BitstreamDownloadPageComponent implements OnInit {

signpostingLinks.forEach((link: SignpostingLink) => {
links = links + (isNotEmpty(links) ? ', ' : '') + `<${link.href}> ; rel="${link.rel}"` + (isNotEmpty(link.type) ? ` ; type="${link.type}" ` : ' ');
links = links + (isNotEmpty(links) ? ', ' : '') + `<${link.href}> ; rel="${link.rel}" ; type="${link.type}" `;
});

this.responseService.setHeader('Link', links);
Expand Down

0 comments on commit 12f9023

Please sign in to comment.