mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-08 06:22:53 +00:00
committed by
Rainer Killinger
parent
aba9627661
commit
bc13cc5e1f
@@ -115,7 +115,7 @@ describe('DaiaDataProvider', () => {
|
||||
};
|
||||
|
||||
expect(daiaDataProvider.getHoldingLink(holding)).toEqual(
|
||||
`${proxyUrl}${available.href}`,
|
||||
`${proxyUrl}${encodeURIComponent(available.href as string)}`,
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -206,7 +206,7 @@ export class DaiaDataProvider {
|
||||
return resourceLink;
|
||||
}
|
||||
|
||||
return `${this.hebisProxyUrl}${resourceLink}`;
|
||||
return `${this.hebisProxyUrl}${encodeURIComponent(resourceLink)}`;
|
||||
}
|
||||
|
||||
holdingHasStatus(available: DaiaService[]): boolean {
|
||||
|
||||
Reference in New Issue
Block a user