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

Reporting a post should require a captcha to be solved by guests

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.11
    • Fix Version/s: 3.0.12-RC1
    • Component/s: Posting
    • Labels:
      None

      Description

      Currently guests can "spam" moderators by reporting posts.
      Reporting does currently not require to solve a captcha.

        Issue Links

          Activity

          Hide
          RMcGirr83 Rich McGirr added a comment -

          This fails. If a registered user reports a post an error is tossed

          Fatal error: Call to a member function validate() on a non-object in /home/rmcgirr8/public_html/report.php on line 149

          because within report.php the captcha is only set if the user is not registered but this line

          $visual_confirmation_response = $captcha->validate();
          if ($visual_confirmation_response)

          { $error[] = $visual_confirmation_response; }

          doesn't check if the user is registered or not...hence the error

          Show
          RMcGirr83 Rich McGirr added a comment - This fails. If a registered user reports a post an error is tossed Fatal error: Call to a member function validate() on a non-object in /home/rmcgirr8/public_html/report.php on line 149 because within report.php the captcha is only set if the user is not registered but this line $visual_confirmation_response = $captcha->validate(); if ($visual_confirmation_response) { $error[] = $visual_confirmation_response; } doesn't check if the user is registered or not...hence the error
          Hide
          RMcGirr83 Rich McGirr added a comment -

          captcha displays for guests

          Show
          RMcGirr83 Rich McGirr added a comment - captcha displays for guests
          Hide
          nickvergessen Joas Schilling added a comment -

          The error was fixed in the preparation branch of RC2

          Show
          nickvergessen Joas Schilling added a comment - The error was fixed in the preparation branch of RC2
          Hide
          RMcGirr83 Rich McGirr added a comment -

          Yeah I know that now...bantu told me in the forums which is why I validated this one as well as this one http://tracker.phpbb.com/browse/PHPBB3-11720

          Show
          RMcGirr83 Rich McGirr added a comment - Yeah I know that now...bantu told me in the forums which is why I validated this one as well as this one http://tracker.phpbb.com/browse/PHPBB3-11720

            People

            • Assignee:
              dhruv.goel92 Dhruv Goel
              Reporter:
              nickvergessen Joas Schilling
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development