Ticket #2897 (closed defect (bug): fixed)

Opened 6 years ago

Last modified 5 years ago

Title attributes on Import page can contain < and > characters

Reported by: Nazgul Owned by: Nazgul
Priority: normal Milestone:
Component: Administration Version: 2.0.3
Severity: trivial Keywords: bg|has-patch
Cc:

Description

The title attributes on the links pointing to the different import modules can (and do) contain < and > characters, which breaks XHTML validation.

Attachments

2897.diff Download (604 bytes) - added by Nazgul 6 years ago.

Change History

  • Keywords bg|has-patch added
  • Owner changed from anonymous to Nazgul
  • Status changed from new to assigned

Created a patch which does a wptexturize on the attribute, as specified in the Coding Guidelines and also does a strip_html on it, because title attributes shouldn't contain HTML markup.

Nazgul6 years ago

comment:2   ryan6 years ago

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [3986]) Strip and texturize importer title. Props Nazgul. fixes #2897

comment:3   ryan6 years ago

(In [3987]) Strip and texturize importer title. Props Nazgul. fixes #2897

comment:4   ryan6 years ago

  • Version changed from 2.1 to 2.0.3
  • Milestone changed from 2.1 to 2.0.4
  • Milestone 2.0.4 deleted

Milestone 2.0.4 deleted

Note: See TracTickets for help on using tickets.