Thanks to visit codestin.com
Credit goes to github.com

Skip to content

$request->getUri(); adds an extra (wrong) slash #8963

Closed
@cmfcmf

Description

@cmfcmf

I downloaded the Symfony Standard Edition 2.3.4 and placed the following code in app_dev.php:

echo $request->getUri();

Then I visited the following url: http://localhost/RSA-Programm/web/app_dev.php?module=search&type=user&func=form. The output is http://localhost/RSA-Programm/web/app_dev.php/?func=form&module=search&type=user. Notice the additional slash after app_dev.php.

Refs zikula/core#1094. The same problem occurs in Zikula. Routing is not yet enabled so all urls are like the one above (with index.php). This causes the url in the profiler to be wrong:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions