mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

At the moment, Microsoft Office and related casks fail audit due to failure to fetch a product homepage from the main Microsoft site (https://www.microsoft.com/) served by Akamai CDN. The failure is severe and weird: no status code is received as the connection is reset. The analysis revealed the issue is linked to `User-Agent` and `Accept-Language` headers parsing. Homebrew uses involved user agent strings and has language hardcoded as `en`. The simplest workaround is to use a simple user agent string when checking homepage availability if the cask is in an audit exceptions list. Merging this would fix Microsoft Office updates (including https://github.com/Homebrew/homebrew-cask/pull/162671)
Library
This directory contains all the code run by the official brew
command in Homebrew
and all formulae (package descriptions) in taps (repositories containing formulae) in Taps
subdirectories.