{"action":"opened","issue":{"url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/3426","repository_url":"https://api.github.com/repos/NuGet/NuGetGallery","labels_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/3426/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/3426/comments","events_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/3426/events","html_url":"https://github.com/NuGet/NuGetGallery/issues/3426","id":196139132,"number":3426,"title":"dist.nuget.org download urls are case sensitive and inconsistent across versions","user":{"login":"joelverhagen","id":94054,"avatar_url":"https://avatars.githubusercontent.com/u/94054?v=3","gravatar_id":"","url":"https://api.github.com/users/joelverhagen","html_url":"https://github.com/joelverhagen","followers_url":"https://api.github.com/users/joelverhagen/followers","following_url":"https://api.github.com/users/joelverhagen/following{/other_user}","gists_url":"https://api.github.com/users/joelverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/joelverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelverhagen/subscriptions","organizations_url":"https://api.github.com/users/joelverhagen/orgs","repos_url":"https://api.github.com/users/joelverhagen/repos","events_url":"https://api.github.com/users/joelverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/joelverhagen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-16T19:43:25Z","updated_at":"2016-12-16T19:43:25Z","closed_at":null,"body":"@AGBrown commented on [Fri Dec 16 2016](https://github.com/NuGet/Home/issues/4117)\n\n## Details about Problem\r\n\r\nNuGet product used: NuGet.exe\r\n\r\nNuGet version: various\r\n\r\n## Detailed repro steps so we can see the same problem\r\n\r\nWhen downloading from `https://dist.nuget.org/win-x86-commandline/<version>/NuGet.exe`, the package naming is inconsistent with regard to case, but the web server is case sensitive. It is not possible therefore to write a simple script which can take a version parameter and insert it into the download url. For example, taking the most recent three versions and \"latest\" from https://dist.nuget.org/index.html\r\n\r\n| version | Pascal case | Lowercase |\r\n| --- | --- | --- |\r\n| latest | ✘ [latest NuGet.exe](https://dist.nuget.org/win-x86-commandline/latest/NuGet.exe) | ✓ [latest nuget.exe](https://dist.nuget.org/win-x86-commandline/latest/nuget.exe) |\r\n| v3.5.0 | ✓ [v3.5.0 NuGet.exe](https://dist.nuget.org/win-x86-commandline/v3.5.0/NuGet.exe) | ✘ [v3.5.0 nuget.exe](https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe) |\r\n| v3.4.4 | ✓ [v3.4.4 NuGet.exe](https://dist.nuget.org/win-x86-commandline/v3.4.4/NuGet.exe) | ✘ [v3.4.4 nuget.exe](https://dist.nuget.org/win-x86-commandline/v3.4.4/nuget.exe) |\r\n| v3.3.0 | ✘ [v3.3.0 NuGet.exe](https://dist.nuget.org/win-x86-commandline/v3.3.0/NuGet.exe) | ✓ [v3.3.0 nuget.exe](https://dist.nuget.org/win-x86-commandline/v3.3.0/nuget.exe) |\r\n\r\n## Suggestion for Fix\r\n\r\n1. make the web server handler for nuget.exe download links case insensitive\r\n1. if that is not possible then:\r\n     - Future uploads to dist.nuget.org should be automated to ensure consistency\r\n     - Both the lower and pascal case versions of all existing and future nuget.exe versions should be uploaded - standardising to lowercase will simply break things for half the nuget world and vice versa\r\n\r\nAnd on a slightly flippant ending: it's lowercase in the text on the page at https://dist.nuget.org/index.html; the case varies in the download links; the case is pascal case in the page's title; and it is lowercase in the logo for nuget. I don't think there are [enough standards here](http://xkcd.com/927/). Maybe we should adopt nUgET?\n\n---\n\n@emgarten commented on [Fri Dec 16 2016](https://github.com/NuGet/Home/issues/4117#issuecomment-267670378)\n\n@AGBrown Thanks for pointing this out and the table of version casings. We'll investigate to see how this could be improved/fixed on dist.\r\n\r\n//cc @skofman1 @joelverhagen \n\n---\n\n@joelverhagen commented on [Fri Dec 16 2016](https://github.com/NuGet/Home/issues/4117#issuecomment-267679435)\n\ndist.nuget.org is living directly on Azure blob storage which has case-sensitive URLs. Thanks for the report @AGBrown. I'm going to move this to the server-side bug tracker so the server team has better visibility.\n\n"}}
{"actor":{"display_login":"joelverhagen"}}