mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Fix double encoding of bitstream filenames in URL
This commit is contained in:
@@ -171,7 +171,7 @@ export class BitstreamDataService extends IdentifiableDataService<Bitstream> imp
|
|||||||
searchParams.push(new RequestParam('sequenceId', sequenceId));
|
searchParams.push(new RequestParam('sequenceId', sequenceId));
|
||||||
}
|
}
|
||||||
if (hasValue(filename)) {
|
if (hasValue(filename)) {
|
||||||
searchParams.push(new RequestParam('filename', encodeURIComponent(filename)));
|
searchParams.push(new RequestParam('filename', filename));
|
||||||
}
|
}
|
||||||
|
|
||||||
const hrefObs = this.getSearchByHref(
|
const hrefObs = this.getSearchByHref(
|
||||||
|
Reference in New Issue
Block a user