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

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 3.2.7
    • Fix Version/s: None
    • Component/s: Posting
    • Labels:
      None
    • Environment:
      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

            • Assignee:
              Unassigned
              Reporter:
              weber2 weber2
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: