kentico_zdenekc
-
5/31/2011 8:20:24 AM
RE:UrlHelper.GetAbsoluteUrl and Port
Hi,
Which URL is the current one when you're calling this method? Because it uses UrlHelper.Url.Authority and it doesn't remove the port. So if you would use it when you were on URL without port specified, then although the main domain is defined with a port, the method would return absolute url without port, matching the current url port...
Thank you in advance for info.
--Zdenek
|