Skip to content

Commit

Permalink
Merge pull request #15974 from chenrui333/chore-update-safari-ua
Browse files Browse the repository at this point in the history
chore: update safari UA to the latest
  • Loading branch information
MikeMcQuaid authored Sep 11, 2023
2 parents 838cb3b + d31f4e4 commit bd1caa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/global.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
HOMEBREW_USER_AGENT_RUBY =
"#{ENV.fetch("HOMEBREW_USER_AGENT")} ruby/#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
HOMEBREW_USER_AGENT_FAKE_SAFARI =
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 " \
"(KHTML, like Gecko) Version/10.0.3 Safari/602.4.8"
"Mozilla/5.0 (Macintosh; Intel Mac OS X 13_5_1) AppleWebKit/605.1.15 " \
"(KHTML, like Gecko) Version/16.5 Safari/605.1.15"
HOMEBREW_GITHUB_PACKAGES_AUTH = ENV.fetch("HOMEBREW_GITHUB_PACKAGES_AUTH").freeze

HOMEBREW_DEFAULT_PREFIX = ENV.fetch("HOMEBREW_GENERIC_DEFAULT_PREFIX").freeze
Expand Down
2 changes: 1 addition & 1 deletion Library/Homebrew/test/download_strategies/curl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
/curl/,
hash_including(args: array_including_cons(
"--user-agent",
a_string_matching(/Mozilla.*Mac OS X 10.*AppleWebKit/),
a_string_matching(/Mozilla.*Mac OS X 13.*AppleWebKit/),
)),
)
.at_least(:once)
Expand Down

0 comments on commit bd1caa4

Please sign in to comment.