mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
linkcheck: test invalid SSL is reported as broken
`linkcheck` logic suggests that SSL errors were originally expected to
be ignored.
Blaming the corresponding lines point to issue #3008: linkcheck to
website with self-signed certificates. That issue was fixed by commit
4c7bec6460, which ignored SSL errors.
Probably because back then, users could not specify a CA bundle.
A broken SSL certificate is a real issue, it should not be ignored.
Users wishing to ignore issues for a specific link can use the
`linkcheck_ignore` option.
The current behavior is to report the site as broken, keep it.
This commit is contained in:
1
tests/roots/test-linkcheck-localserver-https/conf.py
Normal file
1
tests/roots/test-linkcheck-localserver-https/conf.py
Normal file
@@ -0,0 +1 @@
|
||||
exclude_patterns = ['_build']
|
||||
1
tests/roots/test-linkcheck-localserver-https/index.rst
Normal file
1
tests/roots/test-linkcheck-localserver-https/index.rst
Normal file
@@ -0,0 +1 @@
|
||||
`HTTPS server <https://localhost:7777/>`_
|
||||
Reference in New Issue
Block a user