Opened 6 years ago

Closed 5 years ago

#3525 closed defect (bug) (fixed)

Allow plugins to preprocess fetched pingback source

Reported by: tenpura Owned by: anonymous
Priority: normal Milestone: 2.5
Component: XML-RPC Version: 2.1
Severity: normal Keywords: has-patch i18n
Cc:

Description

The current code is not perfectly ready for multibyte incoming pingbacks, is it?

The hook allows us the followings (and more).

  • Sources written in encodings incompatible to preg functions like JIS can be preconverted.
  • We can implement multibyte safe text trim logic instead of the current one.
  • Input data encoding conversion will be more reliable cause we can check meta tags to detect encodings.

Attachments (1)

pre_remote_source.patch (500 bytes) - added by tenpura 6 years ago.
Patch for trunk

Download all attachments as: .zip

Change History (6)

tenpura6 years ago

Patch for trunk

  • Type changed from enhancement to defect

comment:2   ryan6 years ago

  • Milestone changed from 2.1 to 2.2
  • Milestone changed from 2.2 to 2.3
  • Milestone changed from 2.3 to 2.4
  • Resolution set to fixed
  • Status changed from new to closed

(In [7296]) Allow plugins to filter the fetched pingback source data. Fixes #3525 props tenpura.

Note: See TracTickets for help on using tickets.