File: UriTest.php

package info (click to toggle)
php-http-psr7-integration-tests 1.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 452 kB
  • sloc: php: 1,593; makefile: 19
file content (18 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

namespace Http\Psr7Test\Tests\Guzzle;

use GuzzleHttp\Psr7\Uri;
use Http\Psr7Test\UriIntegrationTest;

class UriTest extends UriIntegrationTest
{
    protected $skippedTests = [
        'testGetPathNormalizesMultipleLeadingSlashesToSingleSlashToPreventXSS' => 'mitigations for CVE-2015-3257 are not in place',
    ];

    public function createUri($uri)
    {
        return new Uri($uri);
    }
}