Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Issue With JForms and Filters
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mark Dexter  
View profile  
 More options Nov 4 2012, 8:00 pm
From: Mark Dexter <dextercow...@gmail.com>
Date: Sun, 4 Nov 2012 17:00:03 -0800
Local: Sun, Nov 4 2012 8:00 pm
Subject: Issue With JForms and Filters

Hi all. Sorry for the cross-post, but we have a platform issue posted in
the Bug Squad list that I would like to get some platform folks' opinion on.

The link to the Bug Squad list is here:
https://groups.google.com/forum/?fromgroups=#!topic/joomlabugsquad/08...

There is also an issue  in the 2.5.x tracker here:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEd...

The issue is that in a JForm XML file, the filter="HTML" appears to filter
out all HTML in every case. This is because the filter is created using
whitelist with no attributes or tags. So it always filters all HTML.

I'm not sure what the intent for this filter type is. If it is to allow for
selective HTML elements to be entered, it seems that we need a way in the
XML file to allow for different methods (whitelist vs. blacklist) and to
perhaps pass arrays of tags and attributes.

Any help on this issue will be much appreciated.

Thanks. Mark


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
goldenmean  
View profile  
 More options Nov 5 2012, 11:51 am
From: goldenmean <alonzo.tur...@subtextproductions.com>
Date: Mon, 5 Nov 2012 08:51:11 -0800 (PST)
Local: Mon, Nov 5 2012 11:51 am
Subject: Re: Issue With JForms and Filters

It is my understanding that if you want to filter HTML for blacklisted
elements, then you would use filter="safehtml". There doesn't seem to be a
filter for allowing whitelisted HTML. In that case it's filter="raw" or
nothing. In the CMS the com_content extension has its own filter that is
applied to HTML, and the JForm object itself has an editor item with filter
set to raw.

I think this is behaving exactly as it should be. I don't think this is a
bug, it's a feature request. I think maybe you're looking for something
along the lines of filter="extendedhtml", which would allow some but not
all of the blacklisted items. I know that in my experience, safehtml is too
restrictive in that it doesn't allow iframes which have become a frequent
and easy to implement feature of social networking buttons and widgets.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Dexter  
View profile  
 More options Nov 5 2012, 1:42 pm
From: Mark Dexter <dextercow...@gmail.com>
Date: Mon, 5 Nov 2012 10:42:14 -0800
Local: Mon, Nov 5 2012 1:42 pm
Subject: Re: [jplatform] Re: Issue With JForms and Filters

Thank you. That is exactly the information I was looking for. I did a quick
test and you are correct. filter="safehtml" uses the default blacklist
filtering. So indeed this would be a feature request to add a new enhanced
HTML filter type. Thanks again. Mark

On Mon, Nov 5, 2012 at 8:51 AM, goldenmean <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
javier gómez  
View profile  
 More options Nov 5 2012, 8:14 pm
From: javier gómez <javier.gomez.co...@gmail.com>
Date: Mon, 5 Nov 2012 19:13:29 -0600
Local: Mon, Nov 5 2012 8:13 pm
Subject: Re: [jplatform] Re: Issue With JForms and Filters

I have add it to the Google Code-In 2012 Task List maybe someone there can
make it:

http://docs.joomla.org/Gci_2012_tasks#New_enhanced_HTML_filter_type

note: if you don't think that is a task for the Code-In feel free to delete
it.

On 5 November 2012 12:42, Mark Dexter <dextercow...@gmail.com> wrote:

--
Javi

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »