string-util: Disallow empty prefixes in parse_boolean_term
authorAustin Clements <amdragon@MIT.EDU>
Mon, 7 Jan 2013 21:20:40 +0000 (16:20 -0500)
committerDavid Bremner <bremner@debian.org>
Tue, 8 Jan 2013 00:55:21 +0000 (20:55 -0400)
commitb4b22d37144c7820b435cea500fa4cfd1088b191
tree44fc04374d3d4877f8e9bae23f4146e72e1fc4bf
parentbd829fde9640cf23482b3f1dfe2007ef38f2b24a
string-util: Disallow empty prefixes in parse_boolean_term

Xapian doesn't consider ":abc" to be a prefixed term.  This makes
parse_boolean_term similarly reject queries with an empty prefix.
util/string-util.c