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
When a package is uploaded, if the repository URL in the package information is http, the URL is not accepted.
Specifically, it is the URL indicated by the repository element of nuspec.
If you upload a package whose repository URL is htttp, the upload itself will succeed.
However, the Source code link that appears on the package page after upload is not the package's configuration, but the URL of the page itself.
I think this is due to the fact that the following code section compares only with Uri.UriSchemeHttps.
You're right, since BaGetter is being used internally too, there can be repositories hosted without https still. I don't have time for it right now, but I will review PRs or do it once I have some more time.
Describe the bug
When a package is uploaded, if the repository URL in the package information is http, the URL is not accepted.
Specifically, it is the URL indicated by the repository element of nuspec.
If you upload a package whose repository URL is htttp, the upload itself will succeed.
However, the
Source code
link that appears on the package page after upload is not the package's configuration, but the URL of the page itself.I think this is due to the fact that the following code section compares only with Uri.UriSchemeHttps.
BaGetter/src/BaGetter.Core/Extensions/PackageArchiveReaderExtensions.cs
Line 162 in 0e74443
To Reproduce
nuget push
to Bagetter.Source code
link is not appropriate.Expected behavior
Even if the repository URL is http, it will be properly linked.
I rely on translation tools. I'm sorry if there is a strange sentence.
The text was updated successfully, but these errors were encountered: