#14257 closed enhancement (wontfix)
Allow php source (.phps) to be uploaded
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Upload | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Users are not able to upload .phps files, and since 2.8.5 when unfiltered_uploads is off, this applies to administrators as well. This should be a relatively safe filetype to allow.
Attachments (1)
Change History (5)
RyanMurphy — 3 years ago
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.1
Issue here I think is the potential that poorly configured servers might execute this file.
- Resolution set to wontfix
- Status changed from new to closed
I don't think we should add this to the whitelist at this point because I not sure it is 100% safe.
It is easy to add this to your own site if you want.
There is a plugin with a ui or you can put code in a mu-plugin.
Note: See
TracTickets for help on using
tickets.

Looks ok.
Note: When submitting a patch, give it an extension of .diff or .patch.