VagyokC4
  • Posts: 21
  • Joined: 18/06/2008
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.

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


TO:
bool isSecure = (serverPort == 443);
Jaben
  • Posts: 2544
  • Joined: 09/10/2004
Not entirely sure what the issue is here -- but I modified the code a bit and added (serverPort == 443)
Users browsing this topic
    Similar Topics
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    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