mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 10:55:56 +03:00
[PR #841] [MERGED] Adds json mime type as text type to allow edit json files #1071
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#1071
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/prasathmani/tinyfilemanager/pull/841
Author: @efremovd
Created: 8/24/2022
Status: ✅ Merged
Merged: 8/25/2022
Merged by: @prasathmani
Base:
master← Head:add-json-mime-as-text📝 Commits (1)
b9c9355Adds json mime type as text type to allow edit json files📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
tinyfilemanager.php(+1 -0)📄 Description
Hi,
First thanks for your awesome tiny file manager.
We discovered that we have files that are json inside so mime type gets detected correctly but they don't have any extension so button to edit them won't show up on the page.
In this PR I just added 'application/json' as valid text mime type returned by your function.
Thanks.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.