Opened 4 months ago

Closed 3 months ago

#23217 closed defect (bug) (fixed)

Pingback url array isn't uniqued before pings are sent

Reported by: dllh Owned by: SergeyBiryukov
Priority: normal Milestone: 3.6
Component: Pings/Trackbacks Version: 1.2
Severity: normal Keywords: has-patch commit
Cc:

Description

If you specify the same url in a post more than once, it gets hit with a pingback once for each time it appears. We should only ever ping a link once for a given post. This is easily resolved by performing an array_unique() before doing the pings. Patch attached.

Attachments (1)

unique_pingbacks.patch (415 bytes) - added by dllh 4 months ago.

Download all attachments as: .zip

Change History (4)

dllh4 months ago

  • Milestone changed from Awaiting Review to 3.6
  • Version changed from trunk to 1.2
  • Keywords commit added
  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 23571:

Make sure the pings are only sent once per URL for a given post. props dllh. fixes #23217.

Note: See TracTickets for help on using tickets.