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

Opened 5 years ago

Last modified 4 years ago

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

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

Change History

tenpura5 years ago

Patch for trunk

  • Type changed from enhancement to defect

comment:2   ryan5 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
  • Status changed from new to closed
  • Resolution set to fixed

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

Note: See TracTickets for help on using tickets.