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

Empty referrer may result in PHP error in get_web_root_path()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.3.10
    • 3.3.11
    • None
    • None
    • Debian

    Description

      On php_helper.php, function get_web_root_path_from_ajax_referer, $corrections may have a value less than 0, generating a php error.

      The same can happen with the get_web_root_path() function.

      Attachments

        Issue Links

          Activity

            People

              Marc Marc
              Carifred Carifred
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: