brockallen / BrockAllen.MembershipReboot

MembershipReboot is a user identity management and authentication library.
Other
742 stars 238 forks source link

HttpContextExtensions.GetApplicationUrl returns :443 #646

Closed doublej42 closed 7 years ago

doublej42 commented 8 years ago

public static string GetApplicationUrl(this HttpRequestBase request) returns a url like https://example.com:443/ when running over https.

Also a request to https://example.com:80 will return http://example.com and not work at all. I will assume no one runs https on port 80 (unless they really can't avoid a firewall)