Reject 'hash' with argument < 6
commit4c409f1e6123f437a41137018bba76eb99ab7564
authorGaurav Arora <gauravarora.daiict@gmail.com>
Fri, 20 Oct 2017 08:32:05 +0000 (20 14:02 +0530)
committerOlly Betts <olly@survex.com>
Fri, 1 Dec 2017 02:56:58 +0000 (1 15:56 +1300)
tree7e733453d71ac5824172df93f812c6f4f7b7b017
parent6ebd807d9c82b98609b7c25be7b8165724111b0d
Reject 'hash' with argument < 6

The hashing replaces the last 6 characters of the string with a
hash, which doesn't work for producing a string shorter than 6
characters.  We now reject index scripts which attempt to specify
shorter values.
xapian-applications/omega/docs/scriptindex.rst
xapian-applications/omega/hashterm.cc
xapian-applications/omega/omegatest
xapian-applications/omega/scriptindex.cc