RE: Strange characters in names of users and groups

Jānis Elmeris <[email protected]> Thu, 19 Dec 2024 09:38:11 +0000
Newsgroups gmane.comp.php.general
Message-ID <AS4PR01MB993615239F129A417A66D8C1EC062@AS4PR01MB9936.eurprd01.prod.exchangelabs.com>
Hello!

I suggest you ask about this on DokuWiki's discussion forum: https://forum.dokuwiki.org/

Best regards,
Janis


________________________________
No: Christoph Pleger
Nosūtīts: Ceturtdiena, 2024. gada 19. decembris 11:11
Kam: [email protected]
Tēma: [PHP] Strange characters in names of users and groups

Hello,

I am using dokuwiki, a WIKI programmed in PHP and I have the problem that, in spite of the granted access rights inside DokuWiki, , members of a certain user group are not able to access parts of the Wiki they should be able to access. To find the cause of the problem, I added some lines to the DokuWiki code to get get more debug ouput.

So, from the login, I get the following debug ouput:

user = christoph.pleger
groups = prof

But from checking if the logged in user has access rights for a specific Wiki document, I get the following debug output:

user = christoph%2epleger
groups = prof%a

So, my suspicion is that the problem is caused by those strange character sequences "%2e" and "%a". What can be done to remove them an get the same user and groups strings as above?

Regards
  Christoph