[development] Bypass HTML Filter / Reference Raw $_POST Vars?
douggreen at douggreenconsulting.com
Tue Sep 5 01:43:44 UTC 2006
Not sure if this is any help. You can use the nodeapi hook / "load" to get
stuff before the filter is applied:
Bringing Ideas to Life with Software Artistry and Invention...
Providing open source software political solutions
From: development-bounces at drupal.org [mailto:development-bounces at drupal.org]
On Behalf Of Mike Graben
Sent: Monday, September 04, 2006 8:06 PM
To: development at drupal.org
Subject: [development] Bypass HTML Filter / Reference Raw $_POST Vars?
I've searched for the last 2 hours online and I'm a little stuck. I know a
lot of filtering talk has taken place on this list, but I haven't seen any
answers regarding this...
Is there a way to bypass the filtering of content from a code level? I've
written a module and would like to bypass HTML filtering on a 2 specific
fields, and those 2 only, but I'm unable to find a way to do this.
I don't think using the Input Filterting in Drupal Admin to create roles and
such is the way to go. I thought perhaps referencing the $_POST vars
directly would work, but it seems Drupal processes them before my module can
get to them.
Anyone know of a way to get the raw posted content or bypass the filters?
Thanks for your help!
More information about the development