Project

General

Profile

Actions

Patch #37750

closed

Use existing html pipeline based sanitization for links in custom fields

Added by Jens Krämer about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Custom fields
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

these patches, extracted from Planio, introduce a standalone HTML sanitizer class (based on the existing code from the common mark formatter) and use it to replace sanitization of links generated by custom fields, including the special class="external" and rel="noopener" treatment for external / target_blank links.


Files

Actions #1

Updated by Marius BĂLTEANU about 2 years ago

  • Target version set to 5.1.0
Actions #2

Updated by Marius BĂLTEANU about 2 years ago

  • Status changed from New to Resolved
  • Assignee set to Marius BĂLTEANU

All three patches committed, thanks!

Actions #3

Updated by Marius BĂLTEANU about 2 years ago

  • Subject changed from use existing html pipeline based sanitization for links in custom fields to Use existing html pipeline based sanitization for links in custom fields
Actions #4

Updated by Marius BĂLTEANU almost 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF