[exim-dev] problems with control=submission/name=...

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [exim-dev] problems with control=submission/name=...
Any opinions?

--- exim-doc/doc-txt/ChangeLog  26 Sep 2005 09:52:18 -0000      1.240
+++ exim-doc/doc-txt/ChangeLog  27 Sep 2005 17:03:26 -0000
@@ -3,6 +3,16 @@
 Change log file for Exim from version 4.21
 -------------------------------------------


+Exim version 4.54
+-----------------
+
+TF/01 The control=submission/name=... option had a problem with syntax
+      errors if the name included a slash character. The /name= option
+      now slurps the rest of the string, so it can include any characters
+      but it must come last in the list of options (after /sender_retain
+      or /domain=).
+
+
 Exim version 4.53
 -----------------


--- exim-src/src/acl.c  22 Sep 2005 12:02:22 -0000      1.49
+++ exim-src/src/acl.c  27 Sep 2005 17:03:27 -0000
@@ -2500,7 +2500,7 @@
         else if (Ustrncmp(p, "/name=", 6) == 0)
           {
           uschar *pp = p + 6;
-          while (*pp != 0 && *pp != '/') pp++;
+          while (*pp != 0) pp++;
           submission_name = string_copy(parse_fix_phrase(p+6, pp-p-6,
             big_buffer, big_buffer_size));
           p = pp;



Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}