Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryAdding **filtered**> to description fieldAdding **filtered**> to description field
Previous
 
Next
New Post
9/8/2008 2:19 PM
 

I would like to add a simple script in the description's html.  It looks like the repository module removes <script> tags (or the FCKEditor does), but the standard HTML module doesn't remove them.  Is there a way to enable the script tags in the repository module for the description field?  I'm guessing it would be in the form.xml, but I don't know how exactly.

 
New Post
9/8/2008 3:45 PM
 

The title of this post was supposed to be "Adding <script> to description field".  I guess that would be a problem in the forum module.

 
New Post
9/15/2008 9:47 PM
 

I think I found where this is coming from:

objRepository.Description = objSecurity.InputFilter(pRepository.Description, PortalSecurity.FilterFlag.NoScripting)

I don't suppose there is a way around it?

 
New Post
9/16/2008 3:24 PM
 

No, there is no way around it ... that code is required to make your site secure. You shouldn't allow people to enter script into text fields

However, as this is an open source project, you are free to remove that code, re-compile the module and deploy it to your own site if you so wish to accept the security risk.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryAdding **filtered**> to description fieldAdding **filtered**> to description field


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out