Port number is added as path

The following rule is not working as expected:

When I go to "http://server.local:5050" I get redirected to "https://server.local/:5050/" instead of "https://server.local:5050/".

Trac:
Username: Kidlike