urlrewrite: canonize the path after translation to make sure there are no // on windows
This commit is contained in:
parent
86020a6896
commit
16a8563d85
@ -1481,7 +1481,7 @@ void RclConfig::urlrewrite(const string& dbdir, string& url) const
|
||||
string npath;
|
||||
// Key comes from getNames()=> call must succeed
|
||||
if (m_ptrans->get(opath, npath, dbdir)) {
|
||||
path = path.replace(0, opath.size(), npath);
|
||||
path = path_canon(path.replace(0, opath.size(), npath));
|
||||
computeurl = true;
|
||||
}
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user