Copied to clipboard

Flag this post as spam?

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


  • Ask 13 posts 83 karma points
    Feb 17, 2024 @ 21:41
    Ask
    0

    Does 'UrlProviderMode' default change from 8.15.1 to 8.18.11

    Hi

    In order to comply with a security notice not too long ago, I updated a umbraco solution from version 8.15.1 to 8.18.11.

    I have experienced a lot of problems with that, I also made another post about some of the other problems.

    But, another thing I've noticed is that in our code, we have some places where we have some item that inherits from IPublishedContent, that we then try to get the url of.

    Before the upgrade, we would make a call like:

    item.Url
    

    And it would yield a full url, including the domain name.

    But, after the upgrade, it's a relative Url.

    That makes me think, in one of the minor version upgrades from 8.15.1 to 8.18.11, has the 'UrlProviderMode' default setting been changed?

    I at least I know that that's something that determines whether url's should be relative or absolute

    PS:

    I tried to mark this post with something other than "using umbraco and getting started" but it's absolutely unclear to me how. lol :D

Please Sign in or register to post replies

Write your reply to:

Draft