Re: StripScriptTag question

  •  01-11-2011, 11:11 AM

    Re: StripScriptTag question

    By default the EnableStripScriptTags is set to true. So that it strips all the tags out. This is what i want.
    When a user types a message using your editor i don't want all the javascript tags or any iframe tags etc showing up in  the email body when the webmaster receives it.  I am not saving any info in the database.
     
    Right now i can type <script>alert("This is a Test!")</script> in the editor and when a user click the SEND button,the email shoots up to the webmaster. And the tag <script>alert("This is a Test!")</script> is in the email body.  I want this to show up  &lt;script&gt;alert("This is a 1111Test!")&lt;/script&gt;      so it is stripping all the tags out in the email body before it sends out the email.
    Right now it is not doing this.
     
    This is what i have.

    <CE:Editor

    ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/newminimal.config"

    id="editor" ShowHtmlMode=false ShowBottomBar=false

    runat="server" >

    </CE:Editor>

     
    I hope i make sense now.
     
View Complete Thread