Question
When attaching a file located within 'C:\Documents and Settings' using IE5.0, the upload succeeded and provided a usable link, but the text under 'File Attachment' in the attachment table had extra text, taken from the original file name, e.g. 'on
QoS parameters' using the example in the attachment'.
I tracked this down to the
TwkData element in the page:
<TwkFilePath> <TwkData value="C:\Documents and Settings\rdonkin\My Documents\Message on MPLS QoS parameters.txt"> </TwkFilePath>
Deleting the spaces in this pathname prevented this odd display bug.
I'm using an old version of Twiki, but if anyone wants to try this with a more recent version the attachment part of the page is attached here (with spaces in filename just for fun!).
- TWiki version: 01 May 2000
- Web server: Apache
- Server OS: Linux
--
RichardDonkin - 09 May 2001
Answer
This has been fixed in the latest Beta, 15 Mar 2001, see attachment test below. TWiki now writes this for the invisible TwkData tag:
<TwkData value="C:\DATA\a WikiName folder\wabisabi.gif">
--
PeterThoeny - 10 May 2001