subresource integrity and autocrlf in git

https://github.com/dotnet/aspnetcore/pull/20356

https://github.com/dotnet/aspnetcore/blob/main/.gitattributes

https://github.com/alexkaratarakis/gitattributes/blob/master/Web.gitattributes

https://www.w3.org/TR/SRI/

http://web.archive.org/web/20150912185006/http://adaptivepatchwork.com:80/2012/03/01/mind-the-end-of-your-line/

https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings

https://github.com/dotnet/aspnetcore/commit/a46272f02800d65b86cb1da3b8fc802c37b80785?branch=a46272f02800d65b86cb1da3b8fc802c37b80785&diff=split

https://github.com/dotnet/aspnetcore/commit/d2f3d80c19d93e5d1cd0a12b3194478f7b81bca8?branch=d2f3d80c19d93e5d1cd0a12b3194478f7b81bca8&diff=split

https://github.com/dotnet/aspnetcore/pull/36115

https://github.com/dotnet/aspnetcore/pull/20537

 

###############################################################################
# Make sure jQuery files always have LF as line endings (to pass SRI checks)
###############################################################################
jquery*.js eol=lf
jquery*.map eol=lf
###############################################################################
# Make sure bootstrap files always have LF as line endings (to pass SRI checks)
###############################################################################
bootstrap*.js eol=lf
bootstrap*.map eol=lf

bootstrap*.css eol=lf

 

posted @ 2021-09-22 13:08  ChuckLu  阅读(6)  评论(0编辑  收藏  举报