1

Closed

Missing port number for local urls when using RequireHttpsAttribute

description

The URL's generated for the https protocol when using RequireHttpsAttribute doesn't contains the port fragent. So, the urls for the generated links is invalid when running on ports other than 80.

is there an way to include the port number if is not 80 on generated links ?
Closed Jan 28, 2015 at 3:11 PM by KevinKuszyk
As part of our move to GitHub, we are closing all the outstanding issues on CodePlex.

If your issue is still valid, please re-open it on GitHub:
https://github.com/T4MVC/T4MVC/issues

Thanks for contributing!

comments

davidebbo wrote Oct 8, 2013 at 4:27 AM

But it generates the link as https, no? And for https, the default port is 443, not 80.

Note that in the end, all T4MVC does is call the standard MVC method RouteLink, passing the protocol to it. That's the method that generates the URL. T4MVC has no URL generation logic itself.