<?xml version="1.0" ?><rss version="2.0">
  <channel>
    <title>Flyspray::</title>
    <lastBuildDate>Fri, 29 Oct 2010 01:33:15 +0200</lastBuildDate>
    <description>Flyspray::Bombus - mobile Jabber client (J2ME): Recently opened tasks</description>
    <link>http://bombus.jrudevels.org/flyspray/</link>
        <item>
      <title>Отсутствие обработки XML тегов и атрибутов может привести к отправке невалидного XML в поток</title>
      <author>Vitaly &lt;vitalyster@gmail.com&gt;</author>
      <pubDate>Fri, 29 Oct 2010 01:33:15 +0200</pubDate>
      <description><![CDATA[Исправление:<br />
<br />
Index: src/xml/XMLParser.java<br />
===================================================================<br />
--- src/xml/XMLParser.java	(revision 1442)<br />
+++ src/xml/XMLParser.java	(working copy)<br />
@@ -98,8 +98,8 @@<br />
                 if (c=='?') continue;<br />
                 if (c==' ') continue;<br />
                 if (c=='=') continue;<br />
-                if (c=='\'') { state=ATRVALQS; atrName=sbuf.toString(); sbuf.setLength(0); continue; }<br />
-                if (c=='\&quot;') { state=ATRVALQD; atrName=sbuf.toString(); sbuf.setLength(0); continue; }<br />
+                if (c=='\'') { state=ATRVALQS; atrName=parsePlainText(sbuf); sbuf.setLength(0); continue; }<br />
+                if (c=='\&quot;') { state=ATRVALQD; atrName=parsePlainText(sbuf); sbuf.setLength(0); continue; }<br />
 <br />
                 if (c!='&gt;' &amp;&amp; c!='/') { <br />
                     sbuf.append(c);<br />
@@ -117,7 +117,7 @@<br />
                     state=ENDTAGNAME; <br />
                     sbuf.setLength(0);<br />
                     if (tagName.length()&gt;0) {<br />
-                        String tn=tagName.toString();<br />
+                        String tn=parsePlainText(tagName);<br />
                         eventListener.tagStart(tn, attr); <br />
                         sbuf.append(tn);<br />
                     }<br />
@@ -126,7 +126,7 @@<br />
                 if (c==' ') { state=ATRNAME; continue; }<br />
                 if (c=='&gt;') { <br />
                     state=PLAIN_TEXT; <br />
-                    if (eventListener.tagStart(tagName.toString(), attr))<br />
+                    if (eventListener.tagStart(parsePlainText(tagName), attr))<br />
                         state=BASE64_INIT; <br />
                     continue; <br />
                 }<br />
<br />
]]></description>
      <link>http://bombus.jrudevels.org/flyspray/task/901</link>
      <guid>http://bombus.jrudevels.org/flyspray/task/901</guid>
    </item>
        <item>
      <title>Обработка iq с типом result не сверяет id отправителя</title>
      <author>Vitaly &lt;vitalyster@gmail.com&gt;</author>
      <pubDate>Fri, 22 Oct 2010 23:34:53 +0200</pubDate>
      <description><![CDATA[Обработка входящих xmpp-пакетов не подразумевает никакой фильтрации id или отправителя(получателя), благодаря чему возможно сформировать станзу, которую Bombus обработает и нарушится нормальная работа приложения. К примеру, обрабатываются любые результаты jabber:iq:roster, приняв которые Bombus начинает многократно дублировать присутствие, и отображать пользователю неверное содержимое ростера. С приложенным патчем Bombus выполняет фильтрацию iq-пакетов по id, и отбрасывает результаты запросов, которые сам не отправлял.<br />
<br />
<br />
Index: src/com/alsutton/jabber/JabberDataBlockDispatcher.java<br />
===================================================================<br />
--- src/com/alsutton/jabber/JabberDataBlockDispatcher.java	(revision 1442)<br />
+++ src/com/alsutton/jabber/JabberDataBlockDispatcher.java	(working copy)<br />
@@ -142,6 +142,17 @@<br />
       waitingQueue.removeElementAt( 0 );<br />
       int i=0;<br />
       try {<br />
+          // verify is it our query<br />
+          if (dataBlock instanceof Iq) {<br />
+              if (dataBlock.getTypeAttribute().equals(&quot;result&quot;)) {<br />
+                  String id = dataBlock.getAttribute(&quot;id&quot;);<br />
+                  if (stream.outgoingQueries.indexOf(id) &gt;= 0) {<br />
+                      stream.outgoingQueries.removeElement(id);<br />
+                  } else {<br />
+                      throw new Exception(&quot;Bad IQ result&quot;);<br />
+                  }<br />
+              }<br />
+          }<br />
           int processResult=JabberBlockListener.BLOCK_REJECTED;<br />
           synchronized (blockListeners) {<br />
               while (i]]></description>
      <link>http://bombus.jrudevels.org/flyspray/task/900</link>
      <guid>http://bombus.jrudevels.org/flyspray/task/900</guid>
    </item>
        <item>
      <title>Entity capabilities</title>
      <author>Vitaly &lt;vitalyster@gmail.com&gt;</author>
      <pubDate>Wed, 28 Jul 2010 21:41:24 +0200</pubDate>
      <description><![CDATA[ejabberd 2.1.x проверяет валидность хеша возможностей клиента (XEP-0115), бомбус генерирует их неправильно, в результате как минимум бомбус не получает pep. Исправление:<br />
<br />
--- Base (BASE)<br />
+++ Locally Modified (Based On LOCAL)<br />
@@ -92,13 +92,13 @@<br />
         sha1.init();<br />
         <br />
         //indentity<br />
-        sha1.update(BOMBUS_ID_CATEGORY+&quot;/&quot;+BOMBUS_ID_TYPE+&quot;//&quot;);<br />
-        sha1.update(Version.getNameVersion());<br />
-        sha1.update(&quot;]]></description>
      <link>http://bombus.jrudevels.org/flyspray/task/899</link>
      <guid>http://bombus.jrudevels.org/flyspray/task/899</guid>
    </item>
        <item>
      <title>Поддержка XEP-0071: XHTML-IM</title>
      <author>Shiv &lt;Shiv79@mail.ru&gt;</author>
      <pubDate>Mon, 07 Dec 2009 14:04:59 +0100</pubDate>
      <description><![CDATA[XEP-0071: XHTML-IM<br />
&quot;This specification defines an XHTML 1.0 Integration Set for use in exchanging instant messages that contain lightweight text markup. The protocol enables an XMPP entity to format a message using a small range of commonly-used HTML elements, attributes, and style properties that are suitable for use in instant messaging. The protocol also excludes HTML constructs that may introduce malware and other vulnerabilities (such as scripts and objects) for improved security.&quot; /<br />
http://xmpp.org/extensions/xep-0071.html<br />
<br />
Это например, нужно чтобы увидеть такую картинку:<br />
http://www.portal-on.ru/jabber/images/services/gismeteo.ru/pogoda-xhtml.png]]></description>
      <link>http://bombus.jrudevels.org/flyspray/task/898</link>
      <guid>http://bombus.jrudevels.org/flyspray/task/898</guid>
    </item>
        <item>
      <title>Варианты передачи файлов</title>
      <author>Shiv &lt;Shiv79@mail.ru&gt;</author>
      <pubDate>Mon, 07 Dec 2009 13:58:06 +0100</pubDate>
      <description><![CDATA[Возможно, тема названа не совсем верно, но больше ничего в голову не пришло..<br />
<br />
Взято отсюда: http://juick.com/409700#52 <br />
@ugnich:<br />
Добавьте уже кто-нибудь в бомбус SOCKS5.<br />
Не знаю, что с передачей файлов делали в BombusMod, но в оригинальном передавалось message-ами, вместо рекомендуемых iq, и без управления очередностью. Короче, полная фигня.<br />
<br />
Там вообще-то речь шла о том, что не работает FileTransfer в BombusMod.. Но в привведеной цитате ее автор просит добавить SOCKS5 в бомбус (добавка &quot;мод&quot; отсутствует, так, что видимо имелись ввиду и оф.версия и мод) и утверждает, что передача файлов в bombus рализована неверно.. <br />
<br />
Хотелось бы получить комментари по этому поводу..]]></description>
      <link>http://bombus.jrudevels.org/flyspray/task/897</link>
      <guid>http://bombus.jrudevels.org/flyspray/task/897</guid>
    </item>
        <item>
      <title>Nokia N78 FW 20 определяется как Motorola</title>
      <author>Vitaly &lt;vitalyster@gmail.com&gt;</author>
      <pubDate>Sun, 20 Sep 2009 21:15:30 +0200</pubDate>
      <description><![CDATA[http://wiki.forum.nokia.com/index.php/KIJ001297_-_System.getProperty%28%22microedition.platform%22%29_returns_null_for_Nokia_N78<br />
<br />
В соответствии с этим, и следующей ссылкой - http://library.forum.nokia.com/index.jsp?topic=/Java_Developers_Library/GUID-1F6DF24F-40E4-4450-80F6-783C996A25D7.html - определить эту нокию можно примерно так:<br />
<br />
try {<br />
            Class.forName(&quot;com.nokia.mid.batterylevel&quot;);<br />
            platformName=&quot;Nokia&quot;; //S60 v3  FP2<br />
            }<br />
            catch (Throwable ex) {}]]></description>
      <link>http://bombus.jrudevels.org/flyspray/task/896</link>
      <guid>http://bombus.jrudevels.org/flyspray/task/896</guid>
    </item>
        <item>
      <title>NON-Sasl Auth</title>
      <author>Vitaly &lt;vitalyster@gmail.com&gt;</author>
      <pubDate>Tue, 17 Mar 2009 22:19:17 +0100</pubDate>
      <description><![CDATA[Невозможно подключиться к серверам, заявляющими себя как XMPP 1.0, но не поддерживающим SASL-аутентификацию: яркий пример - livejournal.com.]]></description>
      <link>http://bombus.jrudevels.org/flyspray/task/895</link>
      <guid>http://bombus.jrudevels.org/flyspray/task/895</guid>
    </item>
        <item>
      <title>BenQ-Siemens S68 - выключается с &quot;пиком&quot;</title>
      <author>Dan Bronyakin &lt;danbronyakin@mail.ru&gt;</author>
      <pubDate>Mon, 09 Feb 2009 19:49:20 +0100</pubDate>
      <description><![CDATA[на этапе загрузки вырубается с характерным звуком &quot;пик&quot;.<br />
та же проблема с Jimm решались в новой версии  постоянным включением подсветки.]]></description>
      <link>http://bombus.jrudevels.org/flyspray/task/894</link>
      <guid>http://bombus.jrudevels.org/flyspray/task/894</guid>
    </item>
        <item>
      <title>ошибка при смене подключения</title>
      <author>pavel &lt;pavel.plotnicov@gmail.com&gt;</author>
      <pubDate>Mon, 09 Feb 2009 08:21:23 +0100</pubDate>
      <description><![CDATA[Версия bombus: 0.7.1427 (NY)<br />
Телефон: Nokia E51-1<br />
<br />
подключился по wi-fi, все прекрасно. сменил статус на offline, отключил wi-fi точку доступа, меняю в боумбусе статус на online получаю сообщение: &quot;необработанное исключение, закрыть приложение?&quot;<br />
<br />
может как то принудительно разрывать подключение? хотя для gprs соединения это не обязательно.]]></description>
      <link>http://bombus.jrudevels.org/flyspray/task/893</link>
      <guid>http://bombus.jrudevels.org/flyspray/task/893</guid>
    </item>
        <item>
      <title>Nokia 3500 Classic and bombus mod 0.7.1393.421 - application error</title>
      <author>Dmitry &lt;veranyon@gmail.com&gt;</author>
      <pubDate>Thu, 05 Feb 2009 04:24:11 +0100</pubDate>
      <description><![CDATA[Caution:<br />
If I'm entering message and post it so I watch next message: &quot;application error&quot;. After it the bombus app is close ind I just see an native interface of my nokia phone.<br />
For all I can't post any message with that app.<br />
If I download not &quot;mod&quot; version and native version of bombus so I don't see any errors. All're well. I need &quot;mod&quot; version for icq transport support. I can't add any service (transport etc) in the native version of bombus.<br />
<br />
	<br />
the core problem: The mod version of bombus is drop, when I post any message.]]></description>
      <link>http://bombus.jrudevels.org/flyspray/task/892</link>
      <guid>http://bombus.jrudevels.org/flyspray/task/892</guid>
    </item>
      </channel>
</rss>

