From: Reini U. <ru...@x-...> - 2008-04-25 12:34:47
|
2008/4/24, Marc-Etienne Vargenau <Mar...@al...>: > How is the ZIP Snapshot supposed to handle the sub-pages? > > If you export for instance the pages created by default, > the ZIP will contain both the file 'Help' and files like > 'Help/ActionPage' and 'Help/AddingPages' > > The ZIP cannot be uncompressed because 'unzip' tries to > both create a file Help and a directory Help (to store the > sub-pages). > > Would should be done? > Should the '/' be encoded like in pgsrc? Initially I liked the idea of having the subdirs in the zip, that's why I changed it to use "/" as part of the filename. The zip structure was not meant to be extracted, just viewed and imported again. But when the possibility of a working extraction should be supported we should uriencode the "/" again. Maybe an optional param to leave the / as /. Note: The proper wiki pagename is encoded in the header, so the import always works. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ |