•  VagyokC4
  • 63.8% (Friendly)
  • YAF Forumling Topic Starter
There seems to be a problem with the way YAF deals with HTTPS hosted sites. When the site is accessed with HTTPS://SITENAME.COM/default.aspx .... it for some reason tries to use the link HTTP://SITEMANE.COM:443/  which doesn't resolve...

I manually went in and changed for my deployment the following lines, but I think this needs to be addressed for the next release... as the current way is NOT 100% accurate.

bool isSecure = (HttpContext.Current.Request.ServerVariables["HTTPS"] == "ON");

bool isSecure = (serverPort == 443);
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
Not entirely sure what the issue is here -- but I modified the code a bit and added (serverPort == 443)
Users browsing this topic

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved