Hi Andi, I reported this over on https://github.com/dokuwiki/dokuwiki/issues/4027 as well.
I've been wanted to report this for over 7 years now and it finally bugged me enough to report it. 500 "Internal Server Error" whenever the words "java.lang.XXXX" where XXXX is valid Java packages.
Not all words after "java.lang." fail, nor does "java.lang" by itself fail.
But this does fail:
e.g. java.lang.reflect. For example, java.lang.reflect.UndeclaredThrowableException;
As to a lot of other java.lang references.
I just tried "java.lang.reflec" which works. If I use the text "java.lang.reflect" it gets the 500 Error. Weird. I have it on my page: https://DevOpsCloud.io/doku.php?id=rfc_6239_totp_time-based_one-time_password_algorithm, where I was pasting in text from an RFC that contained Java code (see https://datatracker.ietf.org/doc/html/rfc6238) that contained the "java.lang.reflect" reference.
All of these work fine:
java.security.GeneralSecurityException;
java.text.DateFormat;
java.util.Date;
javax.crypto.spec.SecretKeySpec;
java.math.BigInteger;
java.util.TimeZone;
It happens on at least all of the last 5 versions of DokuWiki including the latest.
This bug is LOW PRIORITY for me since I have tons of other Wiki article to work on that don't reference specific java packages that cause a 500 Error.
Thank for making such an incredible open source project!