Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 11, 2014
  1. @manni83
Commits on Mar 25, 2014
  1. @manni83
Commits on Mar 22, 2013
  1. Merge pull request #19 from frol/patch-1

    New tip for mod_zip + SSL; Fix: allow one-character filenames
Commits on Mar 1, 2013
Commits on Apr 12, 2012
  1. @devgs

    added X-Archive-Name-Sep header

    devgs authored
     Sometimes there might be a problem converting UTF-8 to zips native
     charset(CP866), because it's not 1:1 conversion. So my solution is to
     developers provide their own version of converted filename and pass it
     to mod_zip along with UTF-8 filename which will go straight to Unicode
     path extra field (thanks to tony2001). So separator is a solution that
     break current format. And allows passing file name in both formats as
    one string.
     Normally we pass:
     CRC32 <size> <path> <filename>\n
     * <filename> passed to archive as filename w/o conversion
     * UFT-8 flag for filename is set
     tony2001's X-Archive-Charset: <charset> way:
     CRC32 <size> <path> <filename>\n
     * <filename> is accepted to be UTF-8 string
     * <filename>, converted to <charset> and passed to archive as filename
     * <filename> passed to Unicode path extra field
     * UFT-8 flag for filename is not set
     My X-Archive-Name-Sep: <sep> solution:
     CRC32 <size> <path> <native-filename><sep><utf8-filename>\n
     * <native-filename> passed to archive as filename w/o conversion
     * <utf8-filename> passed to Unicode path extra field
     * UFT-8 flag for filename is not set
     You just need to provide separator that won't interfere with file
    names. I suggest using '/'
     as it is ASCII character and forbidden on most (if not all) platforms
    as a part of filename.
     Empty separator string means no UTF-8 version provided. Usefull when we
    need to pass only
     names encoded in native charset. It's equal to 'X-Archive-Charset:
     Note: Currently it is impossible after '[PATCH] Support for UTF-8 file
     because UFT-8 flag (zip_utf8_flag) is set default for templates.
Commits on Jan 18, 2012
  1. @sam
Commits on Jan 12, 2012
  1. @sam

    Fix GCC4.6 errors on -Wunused-but-set-variable.

    sam authored wieck committed
Commits on Nov 13, 2011
  1. Fix gcc warnings

    Evan Miller authored
Commits on Jan 1, 2011
  1. Merge branch 'master' of into ton…

Commits on Nov 14, 2010
  1. @tony2001

    fix crc32 error

    tony2001 authored
  2. @tony2001
Commits on Nov 13, 2010
  1. @tony2001

    fix debug build

    tony2001 authored
Commits on Apr 4, 2010
  1. Support for UTF-8 file names.

    Evan Miller authored
    Thanks to Robbie Scott/Bandcamp
Commits on Jan 27, 2010
  1. Update from Google Code SVN

    Evan Miller authored
    Zip64 and support for spaces in URLs.
Commits on Oct 19, 2009
  1. First commit.

    Evan Miller authored
Something went wrong with that request. Please try again.