Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package Licenses do not work correctly with embedded license #420

Open
dansiegel opened this issue Nov 12, 2023 · 0 comments
Open

Package Licenses do not work correctly with embedded license #420

dansiegel opened this issue Nov 12, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@dansiegel
Copy link
Member

Description

When a custom license is used or a license file is explicitly provided by the NuGet Author, rather than having a blank URL for the package license we get back a deprecation Url from the NuGet Sdk.

This should instead detect when the deprecation Url is provided and provide a link back to the API where we can retrieve the embedded license and return it. This would be an endpoint that allows anonymous requests which should be fine from a security standpoint because we are only exposing the License not the actual package.

@dansiegel dansiegel added bug Something isn't working enhancement New feature or request labels Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant