Plugin is showing backslashes ("\") instead of colons (":")
Closed this issue · 2 comments
For some reason, the Approve plugin isn't working properly on my DokuWiki installation. It only works on pages located in the root namespace.
By placing the syntax component on a page, I could realize that backslashes (\
) are shown instead of colons (:
) and that hyperlinks to pages are broken.
With that in mind, I took a look at the code and found out that there are two replacement occurrences of /
with :
on that:
dokuwiki-plugin-approve/admin.php
Line 41 in 0c60a29
After replacing /
with \\
in my files, the plugin started working as expected.
I'm not sure why this is happening on my installation, but I've considered important reporting the issue.
By the way, I'm running DokuWiki on a Windows 10 machine with AMPPS.
I've just tested the same scenario in a CentOS 7 machine, and I couldn't reproduce the issue. It seems it only happens in Windows or AMPPS environment.
@brsomartins pleas try the recent version of the plugin. Now it should support the Windows environment.