RE: [PHP] Strange characters in names of users and groups
| From: | Jānis Elmeris | Date: | Thu, 19 Dec 2024 09:38:11 +0000 |
| Subject: | RE: [PHP] Strange characters in names of users and groups | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328589@lists.php.net to get a copy of this message | ||
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: php-general@lists.php.net
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