Defect #10932

Links to delete watchers are escaped when gravatars are enabled

Added by Philippe Lafoucrière over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Issues
Target version:2.0.1
Resolution:Fixed Affected version:2.0.0

Description

Hi,

When I'm adding new watchers to an issue, I have escaped code instead of the delete cross icon :

<a class="delete" href="/watchers/destroy?object_id=1234&amp;object_type=issue&amp;user_id=3" onclick="new Ajax.Request('/watchers/destroy?object_id=1234&amp;amp;object_type=issue&amp;amp;user_id=3', {asynchronous:true, evalScripts:true, parameters:'authenticity_token=' + encodeURIComponent('PLv5ZI6HZ98BKC/BXVE3h4Om4MoTBjqB7+cBfEv2I+Y=')}); return false;" style="vertical-align: middle"><img alt="Delete" src="/images/delete.png?1273095853" /></a>

Associated revisions

Revision 9700
Added by Jean-Philippe Lang over 5 years ago

Fixed that watchers delete links are escaped on the issue view (#10932).

History

#2 Updated by Jean-Philippe Lang over 5 years ago

  • Status changed from New to Confirmed
  • Target version set to 2.0.1

Only occurs when gravatars are enabled.

#3 Updated by Jean-Philippe Lang over 5 years ago

  • Status changed from Confirmed to Resolved
  • Assignee set to Jean-Philippe Lang

Fixed in r9700.

#4 Updated by Philippe Lafoucrière over 5 years ago

I confirm : it's fixed !
Thanks a lot !

#5 Updated by Jean-Philippe Lang over 5 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Fixed

Thanks for the feedback, merged.

#6 Updated by Jean-Philippe Lang over 5 years ago

  • Subject changed from Unable to remove watchers to Links to delete watchers are escaped when gravatars are enabled

Also available in: Atom PDF