[mms] SECURITY: Fix XSS vulnerability on smartmobile message page (João Machado <geral@jpaulo.eu>).
[mms] SECURITY: Fix XSS vulnerability on smartmobile rule page (João Machado <geral@jpaulo.eu>).

Signed-off-by: Michael M Slusarz <slusarz@horde.org>
[mms] SECURITY: Fix XSS vulnerability on smartmobile contacts details page (João Machado <geral@jpaulo.eu>).
[mms] Fix renaming mailboxes in dynamic view.
Add dependency on Horde_Ldap (Bug #12145).
User-Agent header is not required when SETTINGS command is used.

Add temporary value until the SETTINGS command populates it.
Bug: 12154
Work around broken HTC clients that send -1 in place of empty tags.

Bug: 12155
BFN
Fix assumption that memcache is available for tests
This needs both the public and private key
Revocation w/passphrases doesn't work in GPG2 due to the way pinentry works
Not sure how this ever worked: mail messages absolutely must have a from address
Yikes. phpunit silently dying because exif isn't available. Another reason why '@' function prefixes are bad
Fix broken tests

Test was not correctly/inconsistently calling constructor.
[mms] Fix Horde_Crypt_Pgp#encryptedSymmetrically() rom entering an infinite loop when using GnuPg v2.
I don't pretend to know why these ampersands are there, but adding the missing initial one fixes things for me

All tests now pass fo me on my local machine.
Don't mangle the username if we are trying to strip the email.
sticky keys
Revert "I don't pretend to know why these ampersands are there, but adding the missing initial one fixes things for me"

This reverts commit a5bc1cf8f0181462791e36a80de96a54e5a94bd6.

The ampersands are part of the whacky filename that causes things to break, but
only on very few platforms. If this test fails for you too now, congrats, you
are the first developer to reproduce this and have the honor to fix the problem
(It's something about basename() being locale dependent. ;-)
Need to be much more vigilant when changing locale in unit tests

Especially across packages, this value is not reset automatically.