Pligg CMS Forums


Go Back   Pligg CMS Forum > Pligg Development > Bug Report



Quotes within HTML tags not escaped

Found or fixed a small bug in Pligg? Post it here so we can update appropriately.


 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-05-2006, 12:56 AM
New Pligger
 
Join Date: Apr 2006
Posts: 11
Quotes within HTML tags not escaped

Hi all,

I believe the bug I'm having with Pligg 8.2 is that quotes within allowed HTML tags are not being escaped. This causes a problem when attempting to submit a story with quotes within <embed><object><param> tags like so:

Quote:
<a title="submit 'testing dance thing' to del.icio.us" href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2 F%2Fwww.youtube.com%2Fwatch%3Fv%3Dt8RQqd9saDk&amp; title=testing+dance+thing', 'del.icio.us','toolbar=no,width=700,height=400'); return false;"><img src="http://www.betterdance.com/templates/mollio-beat/images/delicious.png" border="0" alt="submit 'testing dance thing' to del.icio.us" /></a>
&nbsp;&nbsp; <a title="submit 'testing dance thing' to digg" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.youtube.co m%2Fwatch%3Fv%3Dt8RQqd9saDk&amp;title=testing dance thing&amp;bodytext=<object width="425"

Posting is fine when I just have quotes in the body of a story, with no HTML tags.


What's the best fix for this?
  #2 (permalink)  
Old 11-05-2006, 09:46 AM
athle's Avatar
Casual Pligger
 
Join Date: Oct 2006
Posts: 56
that's a problem. hope some one can help
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
List of allowed HTML tags spills off the page AshMCairo General Help 0 01-19-2008 11:35 PM
Enableing Html Tags? fiftyone General Help 1 07-22-2007 04:39 AM

Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Use the coupon code PLIGG at Dreamhost.com to receive a discount of up to $84.00 Make a donation to support Pligg CMS development