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

api.nuget.org - all lowercase URLs #409

Merged
merged 1 commit into from
Nov 19, 2024
Merged

api.nuget.org - all lowercase URLs #409

merged 1 commit into from
Nov 19, 2024

Conversation

fklapper
Copy link
Contributor

@fklapper fklapper commented Nov 19, 2024

Change all api.nuget.org URLs to all lowercase

I was seeing download errors when trying to install the AppControl Manager.

Example:

BlobNotFound The specified blob does not exist.

The offending line in the .ps1 was 279, which points to api.nuget.org and was written in CamelCase.

According to this issue on NuGetGallery, this is expected and can happen depending on which CDN is used.

They point to the Nuget documentation, which demands all package ID be lowercased.

After changing this in the .ps1, I was able to install the tool successfully.

Change all api.nuget.org URLs to all lowercase to fix download issues (blob not found)

Signed-off-by: Fabio Klapper <[email protected]>
@fklapper fklapper requested a review from HotCakeX as a code owner November 19, 2024 12:46
@HotCakeX
Copy link
Owner

HotCakeX commented Nov 19, 2024

Hi,
Thanks for the PR, looks like it varies based on geographic location as that GitHub comment suggests. Nice catch!

@HotCakeX HotCakeX merged commit f09cb13 into HotCakeX:main Nov 19, 2024
4 checks passed
@HotCakeX HotCakeX added Enhancement 💯 New feature or request Good First Issue 👏 Good for newcomers labels Nov 19, 2024
@fklapper
Copy link
Contributor Author

You're welcome,
thanks so much for your great work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement 💯 New feature or request Good First Issue 👏 Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants