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