Comments (11)
hanks @bu3tt1, wich program uses the correct mimetype? I tried using Winrar and 7zip, from a Linux server compress in zip, gz and tgz (before I enabled these mimetypes), but with the same result.
I can't be of much help, I tested with an Apple
Btw I tried to change the mimetypes.php file but the owner´s file is root, and i doesn't have this password.
Normally you should mount the file on your host to a file containing the change.
In any case we are working on the new version which will contain the mimetype.
from passwordcockpit.
Opened a pull request to add this mimetype.
Will be solved in version 1.3.4
from passwordcockpit.
Please, enable debugging mode with PASSWORDCOCKPIT_DEBUG: true
and send the description of the error.
from passwordcockpit.
Hi, this is the output from the message error:
Undefined array key "application/x-zip-compressed"
from passwordcockpit.
Hi @bu3tt1 I´m getting error message:
Undefined array key "application/x-zip-compressed"
from passwordcockpit.
Hello,
the mimetype "application/x-zip-compressed" is deprecated.
Would it be possible to generate the ZIP through a newer application that then uses the correct mimetype?
To correct the problem yourself quickly you can mount and overwrite the file https://github.com/passwordcockpit/backend/blob/master/config/autoload/mimetypes.php and add the desired mimetype.
We plan to add the mimetype in the next version that is yet to be planned.
Best regards
from passwordcockpit.
Hello,
the mimetype "application/x-zip-compressed" is deprecated. Would it be possible to generate the ZIP through a newer application that then uses the correct mimetype? To correct the problem yourself quickly you can mount and overwrite the file https://github.com/passwordcockpit/backend/blob/master/config/autoload/mimetypes.php and add the desired mimetype. We plan to add the mimetype in the next version that is yet to be planned.
Best regards
Thanks @bu3tt1, wich program uses the correct mimetype? I tried using Winrar and 7zip, from a Linux server compress in zip, gz and tgz (before I enabled these mimetypes), but with the same result. Btw I tried to change the mimetypes.php file but the owner´s file is root, and i doesn't have this password.
from passwordcockpit.
hanks @bu3tt1, wich program uses the correct mimetype? I tried using Winrar and 7zip, from a Linux server compress in zip, gz and tgz (before I enabled these mimetypes), but with the same result.
I can't be of much help, I tested with an Apple
Btw I tried to change the mimetypes.php file but the owner´s file is root, and i doesn't have this password.
Normally you should mount the file on your host to a file containing the change.
In any case we are working on the new version which will contain the mimetype.
Thanks @bu3tt1, yesterday I solved enabling bz2 mimetype and compress with 7zip, but also was required enable iso and bin mimes because the file was detected as application/octet-stream.
from passwordcockpit.
To add 'xzipcompressed'=>'application/x-zip-compressed' in https://github.com/passwordcockpit/backend/blob/master/config/autoload/mimetypes.php
from passwordcockpit.
With the version 1.3.4 you can use:
PASSWORDCOCKPIT_UPLOAD_ACCEPTED_MIMETYPES : 'xzip'
from passwordcockpit.
Version 1.3.4 image has been released.
Thank you for giving us feedback related to the mimetype problem.
from passwordcockpit.
Related Issues (20)
- The call to logs contains the query param passwordId HOT 2
- The auth token has a very short validity HOT 1
- Add apache Content-Security-Policy header
- Apache add STRICT_TRANSPORT_MAX_AGE=10886400
- Login failed with error (undefined) HOT 4
- Refused to load the script HOT 1
- Add Content-Security-Policy headers HOT 4
- Ldaps certificate information HOT 3
- Help for installation HOT 2
- Unexpected error while clicking on a password after idle activity
- LDAP Connection HOT 4
- Page is not loading through Docker Compose HOT 2
- Even the installation successed no view HOT 6
- Nog getting past the login page HOT 6
- Updated to PHP 8.2
- Updated Mezzio libraries
- Updated EmberJS 5.4 HOT 2
- error in startup HOT 4
- Add json and yaml to mimetypes.php HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passwordcockpit.