You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(purl): url-encoded slashes in purl (google#5592)
fixesgoogle#5590
When the database worker was migrated from Python to Go, it began using
Go's purl.Generate function to generate PURLs. In Go, ecosystems like
Packagist, npm, Hex, and SwiftURL were registered to use
`simpleGenerator` which did not separate package name into namespace and
name components. As a result, the entire package name (e.g.
`drupal/colorbox`) was passed as the package name parameter. The
underlying Go package-url library correctly URL-encoded the slash,
producing `pkg:composer/drupal%2Fcolorbox`.
0 commit comments