e20863 avoid unterminated haystack

Authored and Committed by ajax 12 years ago
    avoid unterminated haystack