Item2240: attachments via view: nameconversion on "save as"
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
We´re using the "attachment access via view-script" method
# from apache.conf
RewriteRule ^/+foswiki/+pub/+(.*)$ /foswiki/bin/viewfile/$1 [L,PT]
to apply the rights-management to the pub-dir (attachments) to.
Little drawback: trying save an attachment via the browser "Save as" function (context menu) generates a converted attachment name (all lowercase, _ to - ; eg FooFile_2009.txt gets foofile-2007.txt).
Would be better to preserve the attachment filename.
We´re using foswiki 1.0.7.
Thanks.
--
MichaHayler - 12 Oct 2009
I have no idea what sort of configuration you are running, but that rewrite rule should not have the effect you describe.
Much more detail on how to reproduce this problem is required, please.
--
CrawfordCurrie - 29 Jun 2010
We are encoutering the same problem. The renamed attachments seem to have something todo with the viewfile script:
For more info see the related problem in TWiki:
http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item6602
--
NathanSanders - 14 Jun 2011
I've created
http://trunk.foswiki.org/Sandbox/TestCaseSensitivity with an attachment -
SomeCaseFile.txt. And create this
viewfile link Context menu save-as seems to work fine.
--
Main.GeorgeClark - 21 Dec 2014 - 19:25