os-scar / overlay

Overlay is a browser extension helping developers evaluate open source packages before picking them
MIT License
221 stars 17 forks source link

Link of a scoped package not opened correctly #97

Closed rzarviv closed 1 year ago

rzarviv commented 1 year ago

Clicking on a OpenSSF scorecard (a.k.a deps-dev) link of a scoped npm package (for example: @angular/cli) leads o a "package not found" page.

Steps to reproduce:

  1. Visit StackOverflow and find a page that contains a code section with a scoped package (for example: this link)
  2. Open the extension and click on the "open link" icon in OpenSSF Scorecard section. A new tab should be opened stating that the package could not be found.

solution The following background/advisory/deps-dev.js causes the problem: image

replacing name with encodeURIComponent(name) should solve the problem.

rzarviv commented 1 year ago

Hi @baruchiro , can you please assign me to solve this issue?

baruchiro commented 1 year ago

@rzarviv Thanks man!