Giter Site home page Giter Site logo

v4 will decompress docx about archiver HOT 3 CLOSED

drwpeng avatar drwpeng commented on June 3, 2024
v4 will decompress docx

from archiver.

Comments (3)

mholt avatar mholt commented on June 3, 2024

From what I understand, those files are zip files with contents that can be extracted. What is broken, exactly? As I don't have Windows or Office products, can you provide a minimally reproducible example?

from archiver.

drwpeng avatar drwpeng commented on June 3, 2024

Yes, docx is also a zip type.
My task is to judge all files type. If it is a compressed file, decompress it. Then docx will be decompressed as a zip file.
Generally, whether docx should not be decompressed?

from archiver.

mholt avatar mholt commented on June 3, 2024

That's up to you, I think. If someone wants to access files within a docx archive, then they should extract it. If someone doesn't want to, they should skip it.

I think that's something that's up to the application developer more than this library...

(Closing, but feel free to continue discussion, especially if you feel like you have a compelling use case for this lib interpreting intentions like this, let me know!)

from archiver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.