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

URLs in tests aren't shortened, triggering errors in Composer files

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 3.1.0-dev
    • 3.1.0-a1
    • Test Suite
    • None

    Description

      Function request() in phpbb_functional_test_case.php merges root url with path but does not remove single and double dots from path. As a result when both root_url and path are set it results in URLs like this:

      http://localhost/phpBB/./index.php

      Symphony's HTTP client requests it like that without removing ./ from URLs and in result $_SERVER variable is different, confusing Request class... or something like that. I'm not sure which one of those components is causing error.

      Solution is to fix URLs before requesting it in test suite, avoiding that bug.

      Attachments

        Issue Links

          Activity

            People

              EXreaction EXreaction [X] (Inactive)
              Arty Vjacheslav Trushkin [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: