Skip to content

Commit 28647f4

Browse files
authored
Fix PURL parsing by removing encodeURI
1 parent f620fd1 commit 28647f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/licenses.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ async function groupChanges(
174174
return true
175175
}
176176

177-
const changeAsPackageURL = parsePURL(encodeURI(change.package_url))
177+
const changeAsPackageURL = parsePURL(change.package_url)
178178

179179
// We want to find if the licenseExclusion list contains the PackageURL of the Change
180180
// If it does, we want to filter it out and therefore return false

0 commit comments

Comments
 (0)