Copied to clipboard

Flag this post as spam?

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


  • Mus'ab 157 posts 385 karma points notactivated
    Oct 01, 2019 @ 15:12
    Mus'ab
    0

    Very Important !! Wrong redirect when renaming page name to author language

    Hello our

    i have a problem with nodes that have efferent language name for example when add public access to node umbraco will redirect me to wrong url with error after login. enter image description here

  • Steve Megson 151 posts 1022 karma points MVP c-trib
    Oct 02, 2019 @ 13:20
    Steve Megson
    100

    It looks like that doubly-encoded path is coming from HttpContext.Current.Request.Url.AbsolutePath, which is weird.

    As a workaround, using Request.RawUrl instead seems to work for me, with this change to the standard login form macro:

    loginModel.RedirectUrl = HttpContext.Current.Request.RawUrl;
    
  • Mus'ab 157 posts 385 karma points notactivated
    Oct 02, 2019 @ 16:05
    Mus'ab
    0

    you are my hero !

Please Sign in or register to post replies

Write your reply to:

Draft