Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration tests error #275

Closed
vanodevium opened this issue Jan 19, 2023 · 0 comments · Fixed by #276
Closed

Integration tests error #275

vanodevium opened this issue Jan 19, 2023 · 0 comments · Fixed by #276

Comments

@vanodevium
Copy link

There was 1 failure:

1) Slim\Tests\Psr7\Integration\UriTest::testGetPathNormalizesMultipleLeadingSlashesToSingleSlashToPreventXSS
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'/valid///path'
+'//valid///path'

/home/devium/slim-psr7/vendor/php-http/psr7-integration-tests/src/UriIntegrationTest.php:262

How to reproduce:

  1. clone this repo
  2. composer install
  3. ./vendor/bin/phpunit

❯ php -v
PHP 8.2.1 (cli) (built: Jan 13 2023 10:42:21) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.1, Copyright (c) Zend Technologies
with Zend OPcache v8.2.1, Copyright (c), by Zend Technologies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant