projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7361d7
)
Attachmentnamen (z.B. bei Emails): Weitere Sonderzeichen ( / und \ ) ersetzen, damit...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 31 Jan 2008 15:46:23 +0000
(15:46 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 31 Jan 2008 15:46:23 +0000
(15:46 +0000)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
8a12841
..
510e305
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-1263,8
+1263,8
@@
sub generate_attachment_filename {
: $self->{format} =~ /opendocument/i ? ".odt"
: $self->{format} =~ /html/i ? ".html"
: "");
- $attachment_filename =
lc
$main::locale->quote_special_chars('filenames', $attachment_filename);
- $attachment_filename =~ s
/ /_/
g;
+ $attachment_filename = $main::locale->quote_special_chars('filenames', $attachment_filename);
+ $attachment_filename =~ s
|[\s/\\]+|_|
g;
} else {
$attachment_filename = "";
}