Description
Describe the bug
ASP.NET Core is licensed under an Open Source License (Apache or MIT). However, some samples in this repository are under a proprietary license. Anyone looking to build and distribute ASP.NET Core from source (for example, Linux distributions as part of the source-build work) is at risk of accidentally violating the license.
Specifically, anumber of .bower.json
files contain this license entry:
"license": "http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm",
And the license that it points to is not an Open Source License.
Since these are just samples, anyone looking to build and distribute ASP.NET Core can, as a workaround, delete the files and avoid packaging them, but it would be much easier and safer for everyone if the licenses were fixed (or the files were re-licensed or, failing that, any non-open source files were removed).
To Reproduce
$ git remote -v
origin https://github.com/dotnet/aspnetcore (fetch)
origin https://github.com/dotnet/aspnetcore (push)
$ git rev-parse HEAD
7739f93951d4e71f61825b5f1380c421bd8c1499
$ grep -ir 'eula.*.htm'
src/Security/samples/PathSchemeSelection/wwwroot/lib/jquery-validation-unobtrusive/.bower.json: "license": "http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm",
src/Security/samples/DynamicSchemes/wwwroot/lib/jquery-validation-unobtrusive/.bower.json: "license": "http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm",
src/Security/samples/ClaimsTransformation/wwwroot/lib/jquery-validation-unobtrusive/.bower.json: "license": "http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm",
src/Security/samples/Identity.ExternalClaims/wwwroot/lib/jquery-validation-unobtrusive/.bower.json: "license": "http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm",
src/Security/samples/Cookies/wwwroot/lib/jquery-validation-unobtrusive/.bower.json: "license": "http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm",
src/Security/samples/StaticFilesAuth/wwwroot/lib/jquery-validation-unobtrusive/.bower.json: "license": "http://www.microsoft.com/web/webpi/eula/net_library_eula_enu.htm",