-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Update Request]: ctrl-f.userdiag 24.1.17 #136463
Comments
@SkyEmie - Is there some form of UserAgent or Client check which could be preventing WinGet from being able to access the URL?
|
Yes, WinGet uses its own User-Agent string, which some hosts have started blocking. This allows them to prevent automated downloads but still allow user downloads through the browser. The InstallerUrl here appears to use a JavaScript function to gather details about the browser, to prevent automated downloads. WinGet probably doesn't invoke a full browser for downloads, and instead probably performs a simple GET. This is a different method from above, and is just as effective. Packages on this host might not be a good fit for inclusion into the WinGet public manifests. |
I've updated the link (?winget instead of ?WinGet) emie@desktop-8sonn9n:~$ curl -I https://userdiag.com/download?winget
HTTP/1.1 200 OK
Date: Sat, 27 Jan 2024 00:40:24 GMT
Content-Type: application/octet-stream
Content-Length: 939952
Connection: keep-alive
content-description: File Transfer
content-disposition: attachment; filename=ud_winget.exe
content-transfer-encoding: binary
expires: 0
Cache-Control: no-store
strict-transport-security: max-age=0
referrer-policy: strict-origin-when-cross-origin
x-xss-protection: 1; mode=block
x-frame-options: sameorigin
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
CF-Cache-Status: DYNAMIC |
Looks like they might be blocking additional user agents now - #136739 (comment) |
What type of update are you requesting?
A new version of an existing package
Current Package Identifier
ctrl-f.userdiag
Package Version
24.1.18
Please describe the changes you would like to see
New version: 24.1.18
Installer URL: https://userdiag.com/download?winget
The text was updated successfully, but these errors were encountered: