[Xapian-tickets] [Xapian] #711: Remote protocol with support for selection of database directory

Xapian nobody at xapian.org
Sun Jun 5 07:27:28 BST 2022


#711: Remote protocol with support for selection of database directory
-----------------------------+-------------------------------
 Reporter:  German M. Bravo  |             Owner:  Olly Betts
     Type:  enhancement      |            Status:  new
 Priority:  high             |         Milestone:  1.4.x
Component:  Backend-Remote   |           Version:  git master
 Severity:  normal           |        Resolution:
 Keywords:                   |        Blocked By:
 Blocking:                   |  Operating System:  All
-----------------------------+-------------------------------
Comment (by Olly Betts):

 > Allowing the client to specify the full path for the server to open
 seems rather unwise. I think the database path the client specifies needs
 to be forced to be below a directory specified on the server's command
 line.

 This doesn't seem to have been addressed.

 I think this is important to provide.  If people really want to allow
 trying to open any path on the filing system of the server as a Xapian
 database they can specify `/` for this directory on the server's command
 line to explicitly say that's what they want.

 > This passes all tests

 There are however no tests added for the new functionality.  Any new
 feature should really have a feature test so we have some confidence that
 it actually works, and especially that it will continue to work in the
 face of future patches.  If there's no feature test it could be completely
 broken and we'd have no idea until we receive a bug report about it.
-- 
Ticket URL: <https://trac.xapian.org/ticket/711#comment:5>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list