Ticket #5822 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

Loading a plugin admin page should check that the file is not just a directory

Reported by: filosofo Assigned to: ryan
Priority: normal Milestone: 2.5
Component: General Version: 2.5
Severity: normal Keywords: has-patch plugin-page
Cc: filosofo

Description

It may seem improbable, but it happened to me. Patch makes sure that it's a file that's being loaded, not just a directory (which will throw a fatal error).

Attachments

check_plugin_page_is_file.diff (0.5 kB) - added by filosofo on 02/11/08 23:56:26.

Change History

02/11/08 23:56:26 changed by filosofo

  • attachment check_plugin_page_is_file.diff added.

02/12/08 00:57:35 changed by lloydbudd

  • milestone changed from 2.3.4 to 2.5.

02/14/08 21:07:43 changed by ryan

  • owner changed from anonymous to ryan.

02/18/08 17:42:51 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [6897]) Make sure plugin is a file before loading. Props filosofo. fixes #5822