| Summary: | Execute command does not work (argument badly transformed) | ||
|---|---|---|---|
| Product: | [Applications] kmail2 | Reporter: | maxime.haselbauer |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | montel |
| Priority: | NOR | ||
| Version First Reported In: | 5.9.0 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/mailcommon/9cb198999e0e494c53aa22c2fbad86eb4c5ce31f | Version Fixed/Implemented In: | 5.9.1 |
| Sentry Crash Report: | |||
I will investigate soon Git commit 9cb198999e0e494c53aa22c2fbad86eb4c5ce31f by Laurent Montel. Committed on 03/09/2018 at 19:44. Pushed by mlaurent into branch 'Applications/18.08'. Fix Bug 398149 - Execute command does not work (argument badly transformed) FIXED-IN: 5.9.1 M +2 -7 src/filter/filteractions/filteractionwithurl.cpp https://commits.kde.org/mailcommon/9cb198999e0e494c53aa22c2fbad86eb4c5ce31f |
Make a new filter Put whatever as a conditions In "FilterActions" select "Execute command" Put path/to/your/script.sh %0 %1 %3 %{itemurl} Select apply, string has been replaced by path/to/your/script.sh %250 %251 %253 %25{itemurl} Which lead script.sh to receive things in form /tmp/akonadi_mailfilter_agent.MmuxjU25{itemurl} Remark if you select several time Apply (modify a liitel thing to re-enable the button), you can end-up with an arbitrary number of 25 ;)