Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
fix: fixes kontent not encoding # in url
Browse files Browse the repository at this point in the history
  • Loading branch information
Enngage committed Aug 7, 2020
1 parent a463b6a commit 9707990
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/zip/zip.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ export class ZipService {
}

private getBinaryDataFromUrl(url: string, enableLog: boolean): Promise<any> {
// temp fix for Kontent Repository not validating url
url = url.replace('#', '%23');

if (enableLog) {
console.log(`Downloading asset: ${url}`);
}
Expand Down

0 comments on commit 9707990

Please sign in to comment.