Normal View encoding URLs

  •  02-23-2009, 3:16 PM

    Normal View encoding URLs

    When switch from HTML view to normal view then back the src tag of our Iframes is being encoded and the &'s seperating the query params are being turned into &
     
    ex..
     
    before
    <iframe src="http://cutesoft.net/path/File.aspx?param1=asdf&param2=ghjk" frameborder="0" width="360" scrolling="no" height="275"></iframe>
     
    after
    <iframe src="http://cutesoft.net/path/File.aspx?param1=asdf&amp;param2=ghjk" frameborder="0" width="360" scrolling="no" height="275"></iframe>
     
    It happens during the switch to normal view because if you look at the uiCuteEditor.Text value before switching to normal it has the correct value.  But if you look at it after switching to normal it has the escaped value.
     
    The control is embeded on the page with these settings.
    <CE:Editor ID="uiCuteEditor" runat="server" AllowEditServerSideCode="True"
                        EditorBodyStyle="internal" EnableStripIframeTags="False"
                        EnableStripLinkTagsCodeInjection="False"
                        EnableStripStyleTagsCodeInjection="False" RemoveTBODYTag="True"
                        StyleWithCSS="True" EnableStripScriptTags="False">
    <FrameStyle BackColor="White" BorderColor="#DDDDDD" BorderWidth="1px" BorderStyle="Solid" CssClass="CuteEditorFrame" Height="100%" Width="100%"></FrameStyle>
                    </CE:Editor>
     
    In the code behind we are also setting
    uiCuteEditor.URLType = URLType.SiteRelative


    I would like to be able to disable this feature.

    Thank You
    Andrew Taft
View Complete Thread