Copied to clipboard

Flag this post as spam?

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


  • Amalie Wowern 145 posts 274 karma points MVP c-trib
    Sep 05, 2016 @ 06:27
    Amalie Wowern
    0

    Wrong redirect when using https

    Hi

    When a member goes directly to a file the member doesnt have acces to i get redirected wrong

    This is the url https://Website.dk/www.website.dk/login/du-har-ikke-adgang?returnurl=%2fmedia%2f1872%file.docx

    Umbraco 7.4

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Sep 05, 2016 @ 06:34
    Richard Soeteman
    0

    That is strange since it should redirect to the niceurl (relative page) What is the result when you do niceurl on the loginpage id?

  • Amalie Wowern 145 posts 274 karma points MVP c-trib
    Sep 05, 2016 @ 07:33
    Amalie Wowern
    0

    Its the normal url https://website.dk/login

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Sep 05, 2016 @ 07:36
    Richard Soeteman
    0

    Mediaprotect expects a relative url.. I'll make a fix for you later.

  • Amalie Wowern 145 posts 274 karma points MVP c-trib
    Sep 05, 2016 @ 07:39
    Amalie Wowern
    0

    Thank you :-)

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Sep 05, 2016 @ 07:51
    Richard Soeteman
    100

    Should be fixed with the version below. Also your ordering issue.

    https://www.dropbox.com/s/vj2a8h5ukwr7317/mediaprotect17.zip?dl=0

  • Amalie Wowern 145 posts 274 karma points MVP c-trib
    Sep 05, 2016 @ 08:05
    Amalie Wowern
    0

    Thanks for the super fast solution:-)

  • Arun 144 posts 407 karma points
    Dec 31, 2019 @ 04:53
    Arun
    0

    This issue exists for me., and the given link by Richard is 404. When i gave a URL without https then that is opening as a page within the current website. Whats the solution

    Im using the code

    var relatedLink = item.Value("relatedLink");

  • Richard Soeteman 4054 posts 12927 karma points MVP 2x
    Jan 06, 2020 @ 08:16
    Richard Soeteman
    0

    Hi,

    Is this a Mediaprotect or general issue you are having?

    Best,

    Richard

  • 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