Opened 3 years ago

Closed 3 years ago

#11786 closed defect (bug) (fixed)

improper parameter defaults in ms-sites.php

Reported by: Denis-de-Bernardy Owned by:
Priority: normal Milestone: 3.0
Component: Multisite Version: 3.0
Severity: normal Keywords: has-patch multisite commit
Cc:

Description

list blogs accepts negative paginations and the like

Attachments (3)

11786.diff (624 bytes) - added by Denis-de-Bernardy 3 years ago.
11786.2.diff (640 bytes) - added by Denis-de-Bernardy 3 years ago.
better patch
11786.3.diff (668 bytes) - added by Denis-de-Bernardy 3 years ago.

Download all attachments as: .zip

Change History (7)

better patch

  • Keywords commit added

comment:2   ryan3 years ago

Won't intval cause a warning if those aren't set since empty is on the outside?

a notice, rather. fixed. :-)

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

(In [12637]) Ensure that apage and num cannot have negative values. Fixes #11786 props Denis-de-Bernardy.

Note: See TracTickets for help on using tickets.