I'm actually running 4.5.2 (not sure if it makes a difference here).
My problem is this: I have a form submitting POST data. Occasionally I would like that post data to contain (limited) HTML tags like bold, img, etc. However, when I reference that data in the resulting page, the HTML is always systematically stripped out.
I have tried passing _MOS_ALLOWHTML to an mosGetParam call like this:
Code:
echo("mosgetting message: ".mosGetParam($_POST, 'message', '', _MOS_ALLOWHTML)); I have even tried bypassing the built-in mambo utility functions entirely by putting this at the very top of my results page:
Code:
echo("raw post data: ".$_POST['message']); The output is the same -- HTML tags carefully stripped away.
So, it would appear that something upstream of this page is intercepting those tags.
I guess my question is this: What else could it be? Are there general functions/filters that Mambo runs before loading the content of the results page?
A little bit more context: This is part of a custom adaptation of phpBB, and the 'message' field in question is the body of a post. I started with the widely-used phpBB component, but I've hacked in thread support and a couple of other custom requirements. The results page in question is "posting.php" which lives in the mambo/components/com_forum directory.
Any thoughts would be greatly appreciated -- this is one of a handful of bugs left to fix before we're live
