[buddypress-trac] [BuddyPress] #1326: Double-byte characters in post url turned to mess code
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Nov 9 09:43:48 UTC 2009
#1326: Double-byte characters in post url turned to mess code
-----------------------------------+----------------------------------------
Reporter: andrepan | Owner:
Type: task | Status: new
Priority: major | Milestone:
Keywords: bug, error, buddypress |
-----------------------------------+----------------------------------------
Comment(by andrepan):
Replying to [comment:2 levinng]:
> Replying to [comment:1 levinng]:
> > It caused by add_filter( 'bp_get_activity_content',
'bp_activity_filter_kses', 1 ); function in buddypress/bp-activity/bp-
activity-filters.php
> >
> >
> > It stripped %ad to somewhat another string by calling wp_kses_split
function
> >
> > I was changed the line 413 in /wp-include/kses.php
> >
> > from
> >
> > {{{
> > return
preg_replace_callback('%((<!--.*?(-->|$))|(<[^>]*(>|$)|>))%',
> >
> > }}}
> > to
> >
> >
> > {{{
> > return
preg_replace_callback('%((<!--.*?(-->|$))|(<[^>]*^>))%',
> >
> > }}}
> >
> >
> > Would any wordpress expert confirm my modification is make sense and
no side effect.
> >
> > Thanks alot!
>
>
>
> Or comment out add_filter( 'bp_get_activity_content',
'bp_activity_filter_kses', 1 ); without touch the core.
>
Hi, levinng,
It seems both don't work for me
--
Ticket URL: <http://trac.buddypress.org/ticket/1326#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list