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

Incorrect generated url when using ajax and routing

    Details

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

      Description

      On a page like app.php/my_page use ajax to dispay a link (a route) generated by app.php/my_page/my_generator. The generated link will be like ./../../app.php/my_destination (which is the link to app.php/my_destination from app.php/my_page/my_generator).

      But the link is displayed on app.php/my_page so we have an extra ../ and the link is wrong.

        Attachments

          Activity

            People

            • Assignee:
              nicofuma nicofuma
              Reporter:
              nicofuma nicofuma
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: