Copied to clipboard

Flag this post as spam?

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


  • Polsenols 4 posts 44 karma points
    Apr 19, 2020 @ 14:28
    Polsenols
    0

    Redirecting to node id from backoffice

    Hey there, I'm trying to redirect to a newly created node from a custom editor in backoffice, but it's replacing all the slashes with %2F like so: /umbraco#/content#%2Fcontent%2Fcontent%2Fedit%2F14699

    How do I stop it from doing this and redirect to the node?

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Apr 27, 2020 @ 13:08
    Marc Goodson
    0

    Hi Polsenols

    How are you redirecting?

    The output looks like it is being UrlEncoded, eg / is the equivalent of %2F when encoded.

    Hard to know if you are in angularJS controller making the redirect or in C#/API Controller?

    if in angularJS are you using the location path?

    $location.path('content/content/edit/14699');

    or if you are redirecting from an API controller, if so how are you constructing the Url and performing the redirect?

    regards

    marc

Please Sign in or register to post replies

Write your reply to:

Draft