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

Incorrect generated url when using ajax and routing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-RC2
    • 3.1.0-RC1
    • Extensions
    • None

      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.

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

              Created:
              Updated:
              Resolved: