Uploading .part
files (from another program)
#49916
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
enhancement
hotspot: filename handling
Filenames - invalid, portable, blacklisting, etc.
How to use GitHub
Is your feature request related to a problem? Please describe.
We use a program that creates files with a
.part
extension, we would like to upload those files to Nextcloud.Unfortunately the
.part
extension is forbidden and is hardcoded here.(This program is not supported anymore and we can't change the extension of the files generated)
Describe the solution you'd like
.part
extension -> By overiding it in the config for exampleDescribe alternatives you've considered
I tried to make an app that does the solution n° 1. That's how I discovered that the
.part
was hardcoded inside thegetForbiddenExtensions()
Additional context
I'm willing to do a pull request and help make this feature. But I have no idea of how big of a change this is. However I think the solution n°1 I described would be a good solution, as it would completly negate the problems with sending files like
.htaccess
or*.part
and so on.The text was updated successfully, but these errors were encountered: