David Edmondson <dme at dme.org> writes: > > Could we always prune a trailing slash from the path: component of a > query before using it? >
As I understand it, this is complicated by the fact that we pass the whole string to Xapian to be parsed as a query, so we don't really know where the path: terms are. We could in principle preprocess the string (more) but that seems to be pretty fragile, and we'd have to minimally deal with quoting of e.g. paths with spaces in them. d