Repository navigation
/diagnostics is (partly) available even when not logged in #4686
Answered
by
ildyria
LudovicRousseau
asked this question in
Bugs
Lychee version7.8.2 Did you check the latest Lychee version?Yes, I did Which PHP version are you using?PHP 8.5 Detailed description of the problemIf I go to the /diagnostics page I get some of the results. I get only the self-diagnostic but that may be too much. For example go to: https://demo.lycheeorg.dev/diagnostics I would expect to be redirected to the main gallery page like for the other "admin" URLs when not logged in. Steps to reproduce the issue
Diagnostics [REQUIRED]I guess it works with any config. Browser & System [REQUIRED]Firefox on macOS Please confirm (incomplete submissions will not be addressed)
|
Answered by
ildyria
Aug 31, 2026
Replies: 1 comment
|
That is intended. :) We documented it in our Security Policy:
Notice that most of the information displayed there are also censored (e.g. the path). |
0 replies
Answer selected by
LudovicRousseau
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That is intended. :)
We documented it in our Security Policy:
https://github.com/LycheeOrg/Lychee/blob/master/SECURITY.md#about-the-apiv2diagnostics-endpoint
Notice that most of the information displayed there are also censored (e.g. the path).