Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Can not use the windows shares after the update to Detritus #1302
My existing links to files via Windows shares in dokuwiki don't work after the update to Detritus. I have found that the code put too much slash by:
And that must be only two slashs such as file://server/test.xlsx.
Can somebody fix it? :-)
Here additional slashes are trimmed: 83b7e38, since November 2014
Why has it work fine for so long time, but is it recently that people observe this behavior?
btw, What is the syntax that you used in the wiki text?
The syntax is very simple: [[\server\data\ict\sheet.xlsx|Here is the sheet]. And it has worked for years. After the upgrade to Detritus it does not work. IE reports that the page can not found and the link in the address space is:
If I manual adjust the url to file://server/data/ict/sheet.xlsx then it works.
Should it matter if my PHP version is 5.3.4? It should be supported, I mean.
We have the exact same issue, after updating to Detritus none of our windows share links work. Removing one of the slashes from the file part of the URL fixes the problem. How can I fix this?
edit: I figured it out. Followed the link to issue 1304 and then found where xhtml.php was edited to add two slashes to the file url on line 1037.