Project

General

Profile

Actions

Patch #37750

closed

Use existing html pipeline based sanitization for links in custom fields

Patch #37750: Use existing html pipeline based sanitization for links in custom fields

Added by Jens Krämer about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Custom fields
Target version:

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

Updated by Marius BĂLTEANU about 4 years ago Actions #1

  • Target version set to 5.1.0

Updated by Marius BĂLTEANU about 4 years ago Actions #2

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

All three patches committed, thanks!

Updated by Marius BĂLTEANU about 4 years ago Actions #3

  • 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

Updated by Marius BĂLTEANU about 4 years ago Actions #4

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom