[exim-dev] [Bug 3013] New: ${run{/bin/echo $recipients}} doe…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Bugzilla
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 3013] New: ${run{/bin/echo $recipients}} doesn't expand the $recipients
https://bugs.exim.org/show_bug.cgi?id=3013

            Bug ID: 3013
           Summary: ${run{/bin/echo $recipients}} doesn't expand the
                    $recipients
           Product: Exim
           Version: 4.96
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: String expansion
          Assignee: unallocated@???
          Reporter: hs@???
                CC: exim-dev@???

It worked before commit cfe6acff2:

╭considering: ${run{/bin/echo $recipients}}
╭considering: /bin/echo $recipients}}
├───────text: /bin/echo 
├considering: $recipients}}
├considering: }}
├──expanding: /bin/echo $recipients
╰─────result: /bin/echo hans@???
╰──(tainted)

after:
╭considering: $recipients
├──expanding: $recipients
╰─────result: 
direct command after expansion:
argv[0] = '/bin/echo'
argv[1] = ''

The command in question was

  exim -t -bem /tmp/test.eml '${run{/bin/echo $recipients}}'

----[/tmp/test.eml]
To: hans@???
Subject: test

hallo
----

-- 
You are receiving this mail because:
You are on the CC list for the bug.


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/