Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13451

A very long string inside message crashes PHP

XMLWordPrintable

    Error rendering 'com.atlassian.jira.jira-view-issue-plugin:details-module'. Please contact your Jira administrators.

      When pasting a very long string into the message field (but less than 60000 chars) and tying to post or preview a message, PHP will crash.

      I tracked it down to email regex in the make_clickable() function.

      Example string that will break things (a long single-line string) is attached.

            nicofuma nicofuma
            kstirn kstirn [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: