The whole point of the scriptprotect attribute is to try and prevent
scripts from being submitted to your site. When you use fckEditor,
your submission is ultimately, just another form field. So if you have
added scripts in the editor, the scriptprotect attribute will strip
them out. So the only way that you can successfully submit the form
with the script tags is to disable scriptprotect.

Something that I have done in the past is to have scriptprotect turned
on in the main site, but turned off under my admin section of the
site. You would do this by creating a new Application.cfc or
Application.cfm file within your administration directory and turn off
scriptprotect there. This way the admins can use scripts within the
pages that they are editing, but normal users can't.

On Tue, Mar 22, 2011 at 8:23 AM, Torrent Girl <[email protected]> wrote:
>
>>also check if you have scriptprotect="all/form/url" enabled in your
>>application/cf admin - if you do and you store the content you enter
>>into fckeditor in a db, all <script> tags will be replaced with [invalid
>>tag]...
>>
>>On 22/01/2011 00:29 , Monique Boea wrote:
>>> Is there ANY way to allow script tags in the fckEditor?
>>>
>>> When I add them, it bombs.
>>>
>>> Thanks
>>>
>>>
>>>
>
> So this should be disabled: scriptprotect="all/form/url" ?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343193
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to