Re: ZIP Snapshot
"Reini Urban" <[email protected]>
| Newsgroups | gmane.comp.web.wiki.phpwiki.talk |
|---|---|
| Message-ID | <[email protected]> |
2008/4/24, Marc-Etienne Vargenau <[email protected]>: > 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/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone