Skip to content

doc: linkcheck ignore sourceforge domain - #855

Merged
roosterfish merged 1 commit into
canonical:mainfrom
minaelee:linkcheck-ignore-sourceforge
Jul 8, 2025
Merged

doc: linkcheck ignore sourceforge domain#855
roosterfish merged 1 commit into
canonical:mainfrom
minaelee:linkcheck-ignore-sourceforge

Conversation

@minaelee

@minaelee minaelee commented Jul 7, 2025

Copy link
Copy Markdown

https://optipng.sourceforge.net just started returning 403 Forbidden during linkcheck only; able to access via curl and in browser.

Output from curl -I https://optipng.sourceforge.net shows Cloudflare as the server and a set_cookie of __cf_bm (see Cloudflare docs on this cookie):

HTTP/2 200 
date: Mon, 07 Jul 2025 21:11:54 GMT
content-type: text/html
vary: Accept-Encoding
vary: Host
vary: Accept-Encoding
last-modified: Fri, 23 May 2025 16:16:35 GMT
etag: W/"25c4-635cfec0c5ec0"
cache-control: max-age=3600
expires: Mon, 07 Jul 2025 22:11:46 GMT
x-from: sfp-ioweb82-4
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=FMJl3f2ePElV1hnhqjFko6TR4H_GKpnNGQ1Bh9JE56o-1751922714-1.0.1.1-Nmq3aaOUxjlixwDx4RMcyu5tRvy3DmbMtc8knN7IFx8ab.gC60IQZ2qHcLHsS.Dvf4JMkzRAKs6l.1lYqRs6gLUj22wxIB5a_70ftagDOKw; path=/; expires=Mon, 07-Jul-25 21:41:54 GMT; domain=.sourceforge.net; HttpOnly; Secure; SameSite=None
content-security-policy: upgrade-insecure-requests
server: cloudflare
cf-ray: 95ba5642c9409869-PHX
alt-svc: h3=":443"; ma=86400

It's likely that increased bot protection rules are blocking linkcheck. This PR adds sourceforge.net to list of domains to exclude from linkcheck.

Signed-off-by: Minae Lee <minae.lee@canonical.com>
@github-actions github-actions Bot added the Documentation Documentation needs updating label Jul 7, 2025
@minaelee
minaelee requested a review from roosterfish July 7, 2025 21:30
@roosterfish
roosterfish merged commit 6433593 into canonical:main Jul 8, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Documentation needs updating

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants