diff --git a/src/nowsecure-snapshot.ts b/src/nowsecure-snapshot.ts index 1684d55..f74edbc 100644 --- a/src/nowsecure-snapshot.ts +++ b/src/nowsecure-snapshot.ts @@ -18,7 +18,7 @@ import { USER_AGENT } from "./nowsecure-client"; function encodePurl(ecosystem: string, name: string, version?: string): string { let purl = `pkg:${ecosystem}/${name}`; if (version) { - purl += `@${encodeURIComponent(version)}`; + purl += `@${version}`; } return purl;