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

403 HTTP error caused by the text "print(" in a post

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Invalid
    • 3.2.7
    • None
    • Posting
    • None
    • PHP 7.2.21, MySQL(i) 10.2.25-MariaDB, Firefox 68.0.2 (64-bit)

    Description

      Attempting to Preview or Submit a post containing the text "print(" without the quotes, causes a "403 Forbidden" HTTP error.

      A member of our forum triggered this when trying to post some code between [code]...[/code] tags. I narrowed it down to this minimal string, and then found that it didn't need to be between [code]...[/code] to cause the problem.  The problem does not occur with "rint(" or "print". It also occurs when there is a space between "print" and "(", i.e. "print (".

      Attachments

        Activity

          People

            Unassigned Unassigned
            weber2 Dave Keenan [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: