Build: #556 was successful

Job: PHP 7.2 - SQLite Package was successful

Stages & jobs

  1. Default Stage

Code commits

phpBB 3.3.x

  • Marc

    Marc 17b4838ee3aa29062cd93f6debb815436142d8df

    Merge pull request #6684 from crowjake/ticket/17365
    [ticket/17365] Prevent search limit being bypassed with operators

  • Marc

    Marc c0b81a1a48f7b4806ba05efab2e967e72a42fffd m

    [ticket/17365] Add a test for max search keywords
    PHPBB-17365

    • tests/search/native_test.php (version c0b81a1a48f7b4806ba05efab2e967e72a42fffd)
  • JacobM

    JacobM 30144052dab979bd06a15aa9d0f0f837e6cb36e7 m

    [ticket/17365] Prevent keyword limit being bypassed with the use of +, - and |
    Provided `$countable_keywords` wherein the existing `$keywords` value is
    modified so that any `-`, `+` and `|` characters without preceding spaces
    is replaced with the same but with a space in front of each.

    These spaces allow the string to be more accurately split when used instead
    of $keywords inside the $num_keywords calculation.

    This prevents the word limit being bypassed in search by the use of
    operators without whitespace.

    PHPBB-17365

    • phpBB/phpbb/search/fulltext_native.php (version 30144052dab979bd06a15aa9d0f0f837e6cb36e7)