1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 12:37:58 +01:00

Smack 4.2.3

-----BEGIN PGP SIGNATURE-----
 
 iQGTBAABCgB9FiEEl3UFnzoh3OFr5PuuIjmn6PWFIFIFAlp7XzVfFIAAAAAALgAo
 aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk3
 NzUwNTlGM0EyMURDRTE2QkU0RkJBRTIyMzlBN0U4RjU4NTIwNTIACgkQIjmn6PWF
 IFKdbQf8CpKmvAUqThaxSKUZKOzlH71BkneT7gdjLvDyvVLXkxZt+arC/Sx9WHXs
 OqP6XxxcUKpP9SVItyikEiyq4A4EAlYbtnGcAnJ2Zc04MorEvYtfePgX29WVMKa6
 VGZv4PyILAqRMBgQP6+TW++sgqB8JvlVY29e2igfM7mFjOiZdKkEPr2TZ995/XiT
 07WFxo72Fe7xXWTVWx5e2hbgC+KPtUFbm0rEBQ3x3seBbRQkn2f3sm8AItj6NKvz
 3W9Fzc7n+NY0l+84lX4mSB4Xq851AtOhJPeuSBijgYNM6V8yAXdCAHd0XJSiE89e
 /WwRIJAxLy74WzXs0wN3IAieKQhHdw==
 =/ZOL
 -----END PGP SIGNATURE-----

Merge tag '4.2.3'

Smack 4.2.3
This commit is contained in:
Florian Schmaus 2018-02-10 11:56:52 +01:00
commit 6f7d6a7f50
6 changed files with 22 additions and 5 deletions

View file

@ -27,7 +27,7 @@ EntityBareJid mucJid = JidCreate.bareFrom("myroom@conference.jabber.org");
Resourcepart nickname = Resourcepart.from("testbot");
// A other use (we may invite him to a MUC).
FullJid otherJid = JidCreate.fullFromm("user3@host.org/Smack");
FullJid otherJid = JidCreate.fullFrom("user3@host.org/Smack");
```
Create a new Room

View file

@ -143,6 +143,23 @@ hr {
<h2>4.2.3 -- <span style="font-weight: normal;">2018-02-07</span></h2>
<h2> Bug
</h2>
<ul>
<li>[<a href='https://issues.igniterealtime.org/browse/SMACK-788'>SMACK-788</a>] - NullPointerException if hostAddresses is null
</li>
<li>[<a href='https://issues.igniterealtime.org/browse/SMACK-789'>SMACK-789</a>] - AffiliationsExtension toXml() produces invalid XML
</li>
<li>[<a href='https://issues.igniterealtime.org/browse/SMACK-790'>SMACK-790</a>] - Some HTTP File Upload elements are not correctly parsed and serialized
</li>
<li>[<a href='https://issues.igniterealtime.org/browse/SMACK-791'>SMACK-791</a>] - NumberFormatException in IpAddressUtil.isIPv4LiteralAddress
</li>
<li>[<a href='https://issues.igniterealtime.org/browse/SMACK-796'>SMACK-796</a>] - SOCKS5 authentication erroneously uses &#39;user&#39; when it should use &#39;passwd&#39;, causes authentication to fail
</li>
</ul>
<h2>4.2.2 -- <span style="font-weight: normal;">2017-11-25</span></h2>
<h2> Bug

View file

@ -137,7 +137,7 @@ public class Socks5ProxySocketConnection implements ProxySocketConnection {
System.arraycopy(userBytes, 0, buf, index,
user.length());
index += user.length();
byte[] passwordBytes = user.getBytes(StringUtils.UTF8);
byte[] passwordBytes = passwd.getBytes(StringUtils.UTF8);
buf[index++] = (byte) (passwordBytes.length);
System.arraycopy(passwordBytes, 0, buf, index,
passwd.length());

View file

@ -81,7 +81,7 @@ public class OccupantsInfo extends IQ {
@Override
protected IQChildElementXmlStringBuilder getIQChildElementBuilder(IQChildElementXmlStringBuilder buf) {
buf.append("\" roomID=\"").append(roomID).append("\">");
buf.append(" roomID=\"").append(roomID).append("\">");
synchronized (occupants) {
for (OccupantInfo occupant : occupants) {
buf.append("<occupant>");

View file

@ -115,7 +115,7 @@ public class RoomInvitation implements ExtensionElement {
}
public IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQChildElementXmlStringBuilder buf) {
buf.append("\" type=\"").append(type.name()).append("\">");
buf.append(" type=\"").append(type.name()).append("\">");
buf.append("<session xmlns=\"http://jivesoftware.com/protocol/workgroup\" id=\"").append(sessionID).append("\"></session>");
if (invitee != null) {
buf.append("<invitee>").append(invitee).append("</invitee>");

View file

@ -115,7 +115,7 @@ public class RoomTransfer implements ExtensionElement {
}
public IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQChildElementXmlStringBuilder buf) {
buf.append("\" type=\"").append(type.name()).append("\">");
buf.append(" type=\"").append(type.name()).append("\">");
buf.append("<session xmlns=\"http://jivesoftware.com/protocol/workgroup\" id=\"").append(sessionID).append("\"></session>");
if (invitee != null) {
buf.append("<invitee>").append(invitee).append("</invitee>");