[buddypress-trac] [BuddyPress Trac] #8337: Avatar url is wrongly escaped in "what's new form"

buddypress-trac noreply at wordpress.org
Mon Jul 27 02:43:37 UTC 2020


#8337: Avatar url is wrongly escaped in "what's new form"
--------------------------+-----------------------------
 Reporter:  hz_i3         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Activity      |    Version:  6.1.0
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 To reproduce the problem:

 Turn on "show avatar" of WordPress on "/wp-admin/options-discussion.php"
 Change "Default Avatar" to "Retro (Generated)"
 Create a new user without no avatar
 Log in with that user
 Go to its member page
 A Gravatar Logo is shown rather than a Retro style avatar


 The problem is the url is escaped (seen from the screenshot)... If I
 replace "&" with "&", the Retro style avatar will show.

 I tried to look into PHP source code (mainly the bp-nouveau directory) but
 I cannot find where it is escaped, maybe in JS code

 Screenshot:

 [[Image(https://i.imgur.com/RIAm8AG.png)]]

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8337>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list