[pkg-horde] Bug#859048: Attachment check hook prevents IMP smartmobile view to send message with 'attachment' word when there's no attachment

Leonardo Bruno leobruno at gmail.com
Wed Mar 29 19:28:59 UTC 2017


Package: php-horde-imp
Version: 6.2.2-3
Severity: important

Scenario: Compose a message using the IMP smartmobile view in a Horde setup
with the 'attach_body_check' enabled.

Symptoms: When using the IMP smartmobile view, it will not be possible to
send a message without attachments if in the message body text there is any
of the keywords defined in the 'attach_body_check' IMP hook function.

The first attempt to send will show a warning message informing that no
attachments are indeed present, as it is expected. However, the following
attempts present the same behavior: a message warns about the absence of
attachments and the message is not sent. It will only be sent if: 1) you
remove the keyword(s) from the message, or 2) add some attachment, or 3)
disable the hook.

Remarks:
1. Only the smartmobile view is affected.
2. The tests where performed with the default Horde and IMP prefs. The only
hooke enabled is 'attach_body_check'.
3. This issue affects the upcoming php-horde-imp stable package (version
6.2.17-1) in Debian stretch.
4. I chose to mark this report as 'important' as the smartmobile view
actually is a must-have feature, and there is no way to deactivate the
'attach_body_check' only for this view.

Regards,
Leonardo Bruno

-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php-horde-imp depends on:
ii  php-horde                  5.2.1+debian0-2+deb8u3
ii  php-horde-auth             2.1.5-5
ii  php-horde-browser          2.0.7-2
ii  php-horde-cache            2.5.0-2
ii  php-horde-compress         2.0.8-5
ii  php-horde-core             2.15.0+debian0-1+deb8u1
ii  php-horde-crypt            2.5.0-5
ii  php-horde-css-parser       1.0.4-5
ii  php-horde-date             2.0.12-5
ii  php-horde-editor           2.0.4+debian0-3
ii  php-horde-exception        2.0.4-4
ii  php-horde-icalendar        2.0.9-4
ii  php-horde-image            2.1.0-4
ii  php-horde-imap-client      2.25.2-1
ii  php-horde-itip             2.0.6-4
ii  php-horde-listheaders      1.1.5-4
ii  php-horde-logintasks       2.0.3-4
ii  php-horde-mail             2.4.0-4
ii  php-horde-mail-autoconfig  1.0.1-3
ii  php-horde-mime             2.4.5-3
ii  php-horde-mime-viewer      2.0.7-2
ii  php-horde-nls              2.0.4-2
ii  php-horde-notification     2.0.1-6
ii  php-horde-pack             1.0.4-2
ii  php-horde-perms            2.1.2-4
ii  php-horde-spellchecker     2.1.1-4
ii  php-horde-stream           1.6.1-4
ii  php-horde-stream-filter    2.0.2-4
ii  php-horde-stream-wrapper   2.1.0-4
ii  php-horde-support          2.1.1-4
ii  php-horde-text-filter      2.2.1-5
ii  php-horde-text-flowed      2.0.1-6
ii  php-horde-tree             2.0.2-3
ii  php-horde-url              2.2.3-4
ii  php-horde-util             2.5.1-5
ii  php-horde-vfs              2.2.0-4
ii  php-horde-view             2.0.4-4
ii  php5-cli                   5.6.30+dfsg-0+deb8u1
ii  php5-common                5.6.30+dfsg-0+deb8u1
ii  php5-json                  1.3.6-1

Versions of packages php-horde-imp recommends:
ii  php-horde-history           2.3.1-4
ii  php-horde-http              2.1.1-4
ii  php-horde-service-gravatar  1.0.0-4

php-horde-imp suggests no packages.

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-horde-hackers/attachments/20170329/5e903583/attachment.html>


More information about the pkg-horde-hackers mailing list