fix: encode URI parameter to proxy URI

Closes #326
This commit is contained in:
Jovan Krunić
2022-10-28 14:18:17 +02:00
committed by Rainer Killinger
parent aba9627661
commit bc13cc5e1f
2 changed files with 2 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ describe('DaiaDataProvider', () => {
};
expect(daiaDataProvider.getHoldingLink(holding)).toEqual(
`${proxyUrl}${available.href}`,
`${proxyUrl}${encodeURIComponent(available.href as string)}`,
);
});
});