splitbrain/dokuwiki — pull request #926 by micgro42 (2014-11-11 10:28:18+00:00)
Title: Trim unnecessary / at start of windowssharelink

Some urls handed to the function `windowssharelink($url, $name = null)` at inc/parser/xhtml.php start like //server/share/... Together with the line `$url = 'file:///'.$url;` the resulting html had 5 slash instead of three, i.e. file://///server/share/.

This pull-request trims those unnecessary `/`, so that the resulting link has reliably three slashes.