Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-11997

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-a3
    • 3.1.0-dev, 3.1.0-a1
    • Login
    • None

      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.

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

              Created:
              Updated:
              Resolved: