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

Skip to content

Route constructUrl incorrectly builds a URL on a non-standard port  #297

@tomas-kulhanek

Description

@tomas-kulhanek

Version: 3.1.4

Bug Description

If a port other than the standard port is used, Router::constructUrl returns a URL without a non-standard port in the case of an absolute route.

Steps To Reproduce

Start application on other port than 80 or 443.
Use Route //%domain%/<presenter>/<action>[/<id>]

Expected Behavior

Route::constructUrl returns a url with the same port as the one in the request

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