Skip to content

Commit

Permalink
Merge pull request #1136 from kvas-damian/patch-1
Browse files Browse the repository at this point in the history
Update User-Agent to latest Chrome
  • Loading branch information
olivervogel committed Feb 9, 2022
2 parents 3d41f31 + 6853087 commit b734a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Intervention/Image/AbstractDecoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function initFromUrl($url)
'method'=>"GET",
'protocol_version'=>1.1, // force use HTTP 1.1 for service mesh environment with envoy
'header'=>"Accept-language: en\r\n".
"User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2\r\n"
"User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36\r\n"
]
];

Expand Down

0 comments on commit b734a49

Please sign in to comment.