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

confirm_box() goes crazy

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 3.0.14, 3.1.3
    • 3.1.12-RC1
    • None
    • None

    Description

      Really crazy errors appears if you add the following code in your overall_footer.html template:
      <script>$(document).ready(function()

      { $.get(); }

      );</script>

      I've checked this on 3.0 & 3.1 & firefox and you can't delete posts with javascript=on (mostly).
      The message "Sorry but you can only delete your own posts." appears; or if you try your own posts "You cannot delete posts in this forum.".

      Please try it as admin or moderator with delete permissions.

      The bug could be this code which should be a trigger_error():
      https://github.com/phpbb/phpbb/blob/3cb1907e76cc760f455f4571011bc4c517eb56db/phpBB/includes/functions.php#L2751

      bug url: /posting.php?mode=delete&f=2&p=6

      Attachments

        Activity

          People

            CHItA CHItA
            Kostenloses-Forum Kostenloses-Forum [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: