[buddypress-trac] [BuddyPress] #1017: wire not filtering input properly

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Sep 16 15:21:17 UTC 2009


#1017: wire not filtering input properly
-----------------------------------------+----------------------------------
Reporter:  DJPaul                        |       Owner:     
    Type:  defect                        |      Status:  new
Priority:  major                         |   Milestone:  1.1
Keywords:  wire, post, href, javascript  |  
-----------------------------------------+----------------------------------
Changes (by Jason_JM):

  * keywords:  => wire, post, href, javascript


Comment:

 You may be able to use the filter 'bp_get_wire_post_content':

 //pseudo
 if (!'javascript:' present in the href via regex) {
   replace href = "javascript:window.location.href='<old href>'"

 Sound good?

 Enhancement,minor, 1.2?

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1017#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list