Skip to content

Commit 3a5f319

Browse files
committed
Improve documentation of assumptions
1 parent 5464a70 commit 3a5f319

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Component/HttpFoundation/Tests/RequestTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,9 @@ public function testCreate()
249249
public function testIndexDotPhpPathInfo()
250250
{
251251
// assume no rewrite rule: /index.php --> /
252-
// assume rewrite rule: /index.php/something --> /something
252+
// assume index.php is a real file.
253+
// assume rewrite rule passes all requests not referring directly to
254+
// files in the filesystem to index.php.
253255
$request = Request::create('http://test.com/index.php.php', 'GET', [], [], [],
254256
[
255257
'DOCUMENT_ROOT' => '/var/www/www.test.com',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy