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

redirect() does not work for app.php/xyz pages

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev, 3.1.0-a1
    • Fix Version/s: 3.1.0-a3
    • Component/s: Login
    • Labels:
      None

      Description

      The function redirect() detects those URLs as relative URLs and checks with file_exists() if the file "xyz" exists if "app.php/xyz" is passed to it.
      This obviously doesn't work and causes the redirect to always default to the current page, which is ucp.php during login. ucp.php then in return redirects to index.php because the user is obviously already logged in at this point.

        Activity

        Hide
        nickvergessen Joas Schilling added a comment -

        The function should get some tests added

        Show
        nickvergessen Joas Schilling added a comment - The function should get some tests added

          People

          • Assignee:
            Marc Marc
            Reporter:
            Marc Marc
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development