0

I have custom image field button in order to be able to choose image from outside media storage. Everything worked well until recently Chrome update.

My .aspx file for Field popup.

<body>
    <form id="form2" runat="server">
            <asp:HtmlIframe runat="server" ID="IFrame" class="iframe"></asp:HtmlIframe>
        </form>
</body>

In Page_Load I set src of external storage window to pick up an image. This url contains parameter for redirect url, when image selected

protected void Page_Load(object sender, EventArgs e)
{
   ...
   IFrame.Src = url;
}

on external side I see, when everything is done they use my redirect url, append data and do redirect

function redirectToUrl(list) {

    var redirectUrl = Ext.urlAppend(controller.url.redirect, "result=" +  encodeURIComponent(Ext.encode(list)));

    document.location = redirectUrl;
}

It should be redirected to my .aspx page (that located in sitecore modules\Shell) that handle it proper way. And it worked many years, but now instead of handling redirect with result I see sitecore login page.

any idea where the cause of problem is?

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.