我开发了几个Web部件,我使用SPContext.Current.Web.Url来获取网址。它在使用hxxps访问站点时工作:// abc /但是当通过IP访问时,我获得http而不是https。SPContext.Current.Web.Url返回http而不是https
问题: 当我访问hxxps://172.1.25.25/ SPContext.Current.Web.Url返回hxxp://172.1.25.25/
在i访问hxxps:// ABC/ SPContext.Current.Web.Url返回hxxps:// ABC/
我的备用访问映射
hxxp://172.1.25.25/联网
个hxxps://172.1.25.25/联网
hxxp:// ABC /互联网
hxxps:// ABC /互联网
我用了几个解决办法,我得到了它在论坛:(毫无效果,在此先感谢