junit-team / junit5

✅ The 5th major version of the programmer-friendly testing framework for Java and the JVM
https://junit.org
Eclipse Public License 2.0
6.42k stars 1.49k forks source link

Sponsoring URL redirects to self #3032

Closed dkocher closed 2 years ago

dkocher commented 2 years ago

The output from org.junit.platform.console.ConsoleLauncher says

[INFO]      [exec] Thanks for using JUnit! Support its development at https://junit.org/sponsoring

but the page redirects to itself.

silverbullet:~ dkocher$ http -v head https://junit.org/sponsoring
HEAD /sponsoring HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Host: junit.org
User-Agent: HTTPie/2.6.0

HTTP/1.1 301 Moved Permanently
CF-Cache-Status: DYNAMIC
CF-RAY: 74a04fc5490c23af-ZRH
Connection: keep-alive
Content-Type: text/html
Date: Tue, 13 Sep 2022 10:48:38 GMT
Server: cloudflare
location: https://junit.org/sponsoring
x-github-request-id: F070:0AF7:4620F6:5D6B9A:63206006
sormuras commented 2 years ago

It should redirect browsers to https://steadyhq.com/junit

marcphilipp commented 2 years ago

Fixed. It was caused by GitHub and CloudFlare redirecting to HTTP/HTTPS in turn indefinitely.