[Xitami] Alias Directories & File Names

Ewen McNeill xitami@lists.xitami.org
Mon, 11 Jun 2001 03:12:58 +1200


In message <AHEGIJMBLEJPOCKNKAHIIEHFCDAA.wnickel1@home.com>, "Wally Nickel" writ
es:
>The only (minor) problem, actually a bit of a nuisance relates to the use of
>ALIAS directory where DIRECTORY lists are enabled so that the downloadable
>files are listed.  The ALIAS lists and ALIAS directories portion works well,
>but whenever a file gets downloaded,  the extension is either duplicated
>(i.e. "song.mp3" becomes "song.mp3.mp3") or an additional character is added
>to the extension (i.e. "file.exe" becomes "file.exe(1)" ).

Does this ONLY occur in directory listings via aliases?  Or does it
occur with any directory listing?  My guess is that it would occur with
any directory listing generated by Xitami, and I suspect it is related
to the URL-encoding being done by Xitami.  You can perhaps work around
this issue in httpdir.gsl (in the templates directory), by using "name"
rather than "nameurl" in the links. (This will cause some other problems
though, especially with names with spaces in them.)

If it does occur in all listings it is already on our bug list.  If it
occurs ONLY in directory listings via aliases we'll need to narrow down
what is special about the directory listings via aliases so we can add
it as a new bug.

>begin 666 winmail.dat
>M>)\^(BH5`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
>M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$&

If you can configure your email program not to add 2K of encoded
"winmail.dat" to your postings that'd be appreciated.

Ewen

-- 
Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com