Use direct HTTPS link to download mssql-tools@14

Using the previous URL https://go.microsoft.com/fwlink/?linkid=848963
leads to a 302 redirect to an insecure http:// download URL, which fails
to download when Homebrew is configured with
`HOMEBREW_NO_INSECURE_REDIRECT=1`.

This change makes the formula match the others and their download
locations.

A separate security report has been made about the https to http
redirection.
This commit is contained in:
David Beitey 2019-02-15 17:14:44 +10:00
Родитель db99b681f3
Коммит bb44a50378
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1,7 +1,7 @@
class MssqlToolsAT14060 < Formula
desc "Sqlcmd and Bcp for Microsoft(R) SQL Server(R)"
homepage "https://msdn.microsoft.com/en-us/library/ms162773.aspx"
url "https://go.microsoft.com/fwlink/?linkid=848963"
url "https://download.microsoft.com/download/F/D/1/FD16AA69-F27D-440E-A15A-6C521A1972E6/mssql-tools-14.0.6.0.tar.gz"
version "14.0.6.0"
sha256 "b31cfe98ff3c8f60a98fd02a1ebbe7cf7a2172320239adccd073ad3870786bf9"