Skip to content

Commit

Permalink
Revert "Fix invalid purl error (#59)"
Browse files Browse the repository at this point in the history
This reverts commit 6ca2f02.
  • Loading branch information
ksaunders authored May 16, 2024
1 parent 6ca2f02 commit d67a861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nowsecure-snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d67a861

Please sign in to comment.