Smack/core/src/main/java/org/jivesoftware/smack
Lars Noschinski 980047c4e1 Create accurate filter for matching on from address (SMACK-71)
Smack contains two PacketFilters to filter on the from address.
FromContainsFilter simply does a substring match, which is problematic
as explained in SMACK-71. FromMatchesFilter partially fixes this
weakness, but it still uses String#startsWith to filter on bare
addresses. For example, when setup to match all JIDs with bare JID
"foo@example.co", it will still match "foo@example.com".

This commit changes FromMatchesFilter to test equality with the bare
from instead of startsWith with the full from.

Moreover, we convert all uses of FromContainsFilter to FromMatchesFilter
and remove FromContainsFilter. Additionally, the unused ToContainsFilter
(which as the same weaknesses) is removed, too.
2014-03-05 06:48:40 +01:00
..
compression Activate checkstyle and add missing license headers 2014-02-17 20:09:55 +01:00
debugger Normalize newlines to '\n' 2014-02-17 23:58:40 +01:00
filter Create accurate filter for matching on from address (SMACK-71) 2014-03-05 06:48:40 +01:00
initializer Make JUL Loggers final (SMACK-536) 2014-02-26 22:00:27 +01:00
packet Make JUL Loggers final (SMACK-536) 2014-02-26 22:00:27 +01:00
parsing Make JUL Loggers final (SMACK-536) 2014-02-26 22:00:27 +01:00
provider Make JUL Loggers final (SMACK-536) 2014-02-26 22:00:27 +01:00
proxy Activate checkstyle and add missing license headers 2014-02-17 20:09:55 +01:00
sasl Normalize newlines to '\n' 2014-02-17 23:58:40 +01:00
util Make JUL Loggers final (SMACK-536) 2014-02-26 22:00:27 +01:00
AbstractConnectionListener.java Normalize newlines to '\n' 2014-02-17 23:58:40 +01:00
AccountManager.java Make JUL Loggers final (SMACK-536) 2014-02-26 22:00:27 +01:00
Chat.java Normalize newlines to '\n' 2014-02-17 23:58:40 +01:00
ChatManager.java Create accurate filter for matching on from address (SMACK-71) 2014-03-05 06:48:40 +01:00
ChatManagerListener.java Activate checkstyle and add missing license headers 2014-02-17 20:09:55 +01:00
Connection.java Add automatically scheduled pings in PingManager 2014-02-26 22:03:02 +01:00
ConnectionConfiguration.java Remove non-SASL authentication code (SMACK-446) 2014-03-01 14:31:29 +01:00
ConnectionCreationListener.java Activate checkstyle and add missing license headers 2014-02-17 20:09:55 +01:00
ConnectionListener.java Normalize newlines to '\n' 2014-02-17 23:58:40 +01:00
DefaultRosterStore.java Substitute MXParser with a call to XmlPullParserFactory 2014-02-20 13:48:36 +01:00
MessageListener.java Activate checkstyle and add missing license headers 2014-02-17 20:09:55 +01:00
PacketCollector.java Improve packet send and result collecting API 2014-02-18 19:39:47 +01:00
PacketInterceptor.java Normalize newlines to '\n' 2014-02-17 23:58:40 +01:00
PacketListener.java Activate checkstyle and add missing license headers 2014-02-17 20:09:55 +01:00
ReconnectionManager.java Make JUL Loggers final (SMACK-536) 2014-02-26 22:00:27 +01:00
Roster.java Improve packet send and result collecting API 2014-02-18 19:39:47 +01:00
RosterEntry.java Normalize newlines to '\n' 2014-02-17 23:58:40 +01:00
RosterGroup.java Improve packet send and result collecting API 2014-02-18 19:39:47 +01:00
RosterListener.java Normalize newlines to '\n' 2014-02-17 23:58:40 +01:00
RosterStore.java Activate checkstyle and add missing license headers 2014-02-17 20:09:55 +01:00
SASLAuthentication.java Remove non-SASL authentication code (SMACK-446) 2014-03-01 14:31:29 +01:00
SmackConfiguration.java Make JUL Loggers final (SMACK-536) 2014-02-26 22:00:27 +01:00
SmackError.java Normalize newlines to '\n' 2014-02-17 23:58:40 +01:00
XMPPException.java SMACK-465: XMPPException using Java's wrapped Throwable 2014-02-19 10:42:39 +01:00
package.html Migrate from Ant to Gradle (SMACK-265) 2014-02-14 18:46:33 +01:00