Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-10117

Big posts becomes empty if they have smilies on specified places.

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.9-RC1
    • Component/s: None
    • Labels:
      None

      Description

      Big posts becomes empty if they have smilies on specified places, and then shows error "Your message is too short". That occures with non-english symbols also. I haven't revealed exact regularity of bug appearance. In one cases it works, in others not, as test file that i attached below. This test message contains about 55000 symbols and Exclamation smilie at the very beginning of the message.
      Smiles placed right at the beginning is not mandatory, it's just for example. At some places all works fine, but not at others.

        Activity

        Hide
        rxu Ruslan Uzdenov added a comment - - edited

        Shredder, could you please test this commit https://github.com/rxu/phpbb3/commit/25ae46b8df36f040f7f3adc1e4aebb4041d79964 against the bug? Max smilies limitation workability should be tested as well.

        Show
        rxu Ruslan Uzdenov added a comment - - edited Shredder, could you please test this commit https://github.com/rxu/phpbb3/commit/25ae46b8df36f040f7f3adc1e4aebb4041d79964 against the bug? Max smilies limitation workability should be tested as well.
        Hide
        Shredder Shredder added a comment -

        Seems all works fine for now.

        Show
        Shredder Shredder added a comment - Seems all works fine for now.
        Hide
        rxu Ruslan Uzdenov added a comment -

        OK, thanks for testing.

        Show
        rxu Ruslan Uzdenov added a comment - OK, thanks for testing.
        Hide
        Shredder Shredder added a comment - - edited

        I tested for more large symbols amount.
        Max smilies limitation breaks if post contains 99864 or more symbols (including smilies symbols). Post becomes empty if contains 100000 or more symbols. English or non-english doesn't affect anymore if this fix are used. Specified values can be aren't exact and for different forums can slightly differ (around 100000 still). And limitation breaks also with or without fix, but breaks after a different symbols amount for different languages if without fix.

        Show
        Shredder Shredder added a comment - - edited I tested for more large symbols amount. Max smilies limitation breaks if post contains 99864 or more symbols (including smilies symbols). Post becomes empty if contains 100000 or more symbols. English or non-english doesn't affect anymore if this fix are used. Specified values can be aren't exact and for different forums can slightly differ (around 100000 still). And limitation breaks also with or without fix, but breaks after a different symbols amount for different languages if without fix.
        Hide
        rxu Ruslan Uzdenov added a comment -

        See PHPBB3-10115 for limitations info.

        Show
        rxu Ruslan Uzdenov added a comment - See PHPBB3-10115 for limitations info.

          People

          • Assignee:
            rxu Ruslan Uzdenov
            Reporter:
            Shredder Shredder
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development