On Tue, 10 Nov 2026 09:55:29 GMT, Aleksey Shipilev <[email protected]> wrote:

> > Seems that git.openjdk.org now answers 403 to wget's default User-Agent.
> 
> This is our own infra even! Needs to be fixed there, IMO.

Mine too. I've encountered this locally in trying to review patches and was 
about to report to ops when I saw this:

~~~
$ wget -v -O /tmp/8395856.11u https://git.openjdk.org/jdk11u-dev/pull/3296.diff
WARNING: timestamping does nothing in combination with -O. See the manual
for details.

--2026-11-12 17:52:34--  https://git.openjdk.org/jdk11u-dev/pull/3296.diff
Resolving git.openjdk.org (git.openjdk.org)... 2a02:26f0:fd00:18a::2c21, 
2a02:26f0:fd00:190::2c21, 2.22.97.124
Connecting to git.openjdk.org 
(git.openjdk.org)|2a02:26f0:fd00:18a::2c21|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2026-11-12 17:52:34 ERROR 403: Forbidden.

$ wget -v -O /tmp/8395856.11u 
https://patch-diff.githubusercontent.com/raw/openjdk/jdk11u-dev/pull/3296.diff
WARNING: timestamping does nothing in combination with -O. See the manual
for details.

--2026-11-12 17:52:37--  
https://patch-diff.githubusercontent.com/raw/openjdk/jdk11u-dev/pull/3296.diff
Resolving patch-diff.githubusercontent.com 
(patch-diff.githubusercontent.com)... 20.26.156.215
Connecting to patch-diff.githubusercontent.com 
(patch-diff.githubusercontent.com)|20.26.156.215|:443... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from patch-diff.githubusercontent.com attempted to set domain to 
github.com
Cookie coming from patch-diff.githubusercontent.com attempted to set domain to 
github.com
Length: unspecified [text/plain]
Saving to: ā€˜/tmp/8395856.11u’

/tmp/8395856.11u                            [  <=>                              
                                            ]   2.14M  5.18MB/s    in 0.4s    

2026-11-12 17:52:38 (5.18 MB/s) - ā€˜/tmp/8395856.11u’ saved [2249096]
~~~

I shouldn't need to use the web browser to resolve the link first.  That's just 
broken.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/33809#issuecomment-6831551753

Reply via email to