Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bobi 352 posts 956 karma points
    Apr 12, 2017 @ 07:02
    Bobi
    0

    Possible Bug - Back-end breaks in updated 7.5.13

    I just updated to v7.5.13 via nuget, and it looks like the back-end doesn't work if you have umbracoUseSSL = true and you are not browsing using https.

    I do not recall this happening in 7.5.10, 7.5.11, nor 7.5.12.

    Any ideas of how to fix this so umbracoUseSSL = true can remain enabled?

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Apr 12, 2017 @ 11:00
    Sebastiaan Janssen
    100

    This is not a bug, this is intended behavior. :-) umbracoUseSSL is used to mark cookies as secure so obviously they won't work on an insecure connection.

    If you need umbracoUseSSL to be true while deploying to your server then you should consider writing a config transform.

    For example, on Umbraco Cloud you can add per-environment transforms: https://our.umbraco.org/documentation/Umbraco-Cloud/Set-Up/Config-Transforms/

    The transform would look like this:

    <?xml version="1.0"?>
    <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
    
      <appSettings>
          <add key="umbracoUseSSL" value="true" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)"/>
      </appSettings>
    
    </configuration>
    
  • Bobi 352 posts 956 karma points
    Apr 12, 2017 @ 15:35
    Bobi
    0

    Thanks for the reply Sebastiaan.

    I must've removed something in my .config during the update because I never experienced this before in my local environment (perhaps I had a https redirection).

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

    Continue discussion

Please Sign in or register to post replies