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

Add an easy-to-switch system for app.php?controller= vs mod-rewrite usage in append_sid

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-b1
    • Component/s: Events
    • Labels:
      None

      Description

      The current code was designed to so one can easily rewrite the controller URLs to his forum root and usw mod-rewrite to map it on the app.php

      However the code does not know this, while the urls are generated. So I'd like to see an option for that in the ACP > Server settings, which then automatically changes the urls created in append_sid.

      Otherwise every mod/ext author will have to implement this on his self and the admin needs to change it for every extension, or even the authors dont add code to enable this and the admin has to dive in the code again.

      Patch should therefore:

      • Add a config
      • Rewrite the urls if they map the app.php file and include a controller argument

        Activity

        Hide
        nickvergessen Joas Schilling added a comment -

        Rixed by controller/helper::route()

        Show
        nickvergessen Joas Schilling added a comment - Rixed by controller/helper::route()

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development