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

path_helper returns wrong web root path for ajax requests

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-a2
    • Fix Version/s: 3.1.0-RC2
    • Component/s: Extensions
    • Labels:
      None

      Description

      ATM when an extension page is open with AJAX, the URLs call with append_sid, avatar path and more are broken (I noticed it testing my Reputation System extension).

      It can be solved by adding to path_helper.php request which checks if AJAX request is using.

        Activity

        Hide
        Pico88 Pico88 added a comment - - edited
        Show
        Pico88 Pico88 added a comment - - edited Wintstar also noticed that bug https://www.phpbb.com/community/viewtopic.php?p=13515441#p13515441
        Hide
        VSE Matt Friedman added a comment -

        I too, noticed this at one point. A URL with an SID in it will fail if it is used for an AJAX request.

        Show
        VSE Matt Friedman added a comment - I too, noticed this at one point. A URL with an SID in it will fail if it is used for an AJAX request.

          People

          • Assignee:
            nickvergessen Joas Schilling
            Reporter:
            Pico88 Pico88
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development