Windows: fix path splitting for the XP field

This commit is contained in:
Jean-Francois Dockes
2015-10-14 10:53:15 +02:00
parent 4b91fec6c7
commit d013ecb1bc
3 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -1307,7 +1307,7 @@ bool Db::addOrUpdate(const string &udi, const string &parent_udi, Doc &doc)
// Split and index the path from the url for path-based filtering
{
string path = url_gpath(doc.url);
string path = url_gpathS(doc.url);
vector<string> vpath;
stringToTokens(path, vpath, "/");
// If vpath is not /, the last elt is the file/dir name, not a