[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


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

 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/>

More information about the buddypress-trac mailing list