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

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

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: Test Suite
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: