Untested but find in the phpdigRewriteUrl function:
Code:
// phpdig 1.8.9 rc1
$retour['path'] = mb_ereg_replace('(.*[^/])/?$','\1/',mb_ereg_replace('^/(.*)','\1',mb_ereg_replace("/+","/",$path)));
// phpdig 1.8.8
$retour['path'] = ereg_replace('(.*[^/])/?$','\1/',ereg_replace('^/(.*)','\1',ereg_replace("/+","/",$path)));
And replace with the following:
Code:
// phpdig 1.8.9 rc1
$retour['path'] = mb_ereg_replace('^/(.*)','\1',mb_ereg_replace("/+","/",$path));
// phpdig 1.8.8
$retour['path'] = ereg_replace('^/(.*)','\1',ereg_replace("/+","/",$path));