diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-09-21 14:35:19 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-09-21 14:35:19 +0000 |
commit | db72cac175b5fe2280c5f1fe0e3a39b351aac94f (patch) | |
tree | ee7fd0165dd3a5300bddca57127c4b863478fd1f /postfix-model.lua | |
parent | 7ae059ecfd9ade1215046bc20a1b2eb7de2328b5 (diff) | |
download | acf-postfix-db72cac175b5fe2280c5f1fe0e3a39b351aac94f.tar.bz2 acf-postfix-db72cac175b5fe2280c5f1fe0e3a39b351aac94f.tar.xz |
Remove spaces from start / end of new filenames, bumped to 0.2.3v0.2.3
Diffstat (limited to 'postfix-model.lua')
-rw-r--r-- | postfix-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postfix-model.lua b/postfix-model.lua index 32eb2ce..b37feb4 100644 --- a/postfix-model.lua +++ b/postfix-model.lua @@ -89,7 +89,7 @@ end function createfile(newfile) newfile.errtxt = "Failed to create file" - local path = newfile.value.filename.value + local path = string.match(newfile.value.filename.value, "^%s*(.*%S)%s*$") or "" if not string.find(path, "/") then path = baseurl..path end |