1. 10 Mar, 2016 1 commit
    • Guus der Kinderen's avatar
      Prevent occasional failure of CheckChainTrustedTest · 3ed99368
      Guus der Kinderen authored
      There's one unit test that occasionally fails. This occurs as a result of an unintended
      collision. As part of the test, many certificates are generated and stored in keystores.
      The alias used for the entry was based on the hashcode of the public ke of the certificate.
      The value range of those hashcodes is fairly small (it has only a couple of digits), which
      leads to occasional collisions, causing the test to fail.
      
      This commit replaces the hashcode-based alias with the Base64-encoded public key information.
      This ensures that aliases for distinct keys are also distinct, while ensuring that the
      aliases for equal keys are equal.
      3ed99368
  2. 07 Mar, 2016 13 commits
  3. 06 Mar, 2016 3 commits
  4. 05 Mar, 2016 2 commits
  5. 04 Mar, 2016 1 commit
  6. 03 Mar, 2016 7 commits
  7. 02 Mar, 2016 1 commit
  8. 01 Mar, 2016 1 commit
  9. 26 Feb, 2016 4 commits
  10. 16 Feb, 2016 1 commit
  11. 15 Feb, 2016 5 commits
    • Chinmay Dani's avatar
      Outcasts should not be allowed to register with room. · 7963d3f8
      Chinmay Dani authored
      With the current implementation, any user can send the register IQ to register with
      a room as a 'member'. This also allows outcasts, that were banned from a room, to be
      able to register again as a member, and eventually re-join the room. The solution is
      to prevent outcasts from registering with the room.
      7963d3f8
    • Dave Cridland's avatar
      Merge pull request #539 from guusdk/OF-1087 · 45394287
      Dave Cridland authored
      OF-1087: Default namespace handling in BOSH.
      45394287
    • Guus der Kinderen's avatar
      OF-1087: Do not add empty-string prefixed namespaces · e4b7a75b
      Guus der Kinderen authored
      In dom4j, the default namespace of an element cannot be set by adding
      a namespace that has an empty-string prefix. Although the string
      representation of the element will be correct, that namespace is not
      being recognized as the default namespace of the element (instead, it
      is a namespace like any other prefixed namespace, to be used in child
      elements).
      e4b7a75b
    • Guus der Kinderen's avatar
      OF-1087: Whitespace does not take into account element boundary. · 12eba2f8
      Guus der Kinderen authored
      The original code depends on a whitespace to be present within the limits
      of the element. This is not safe (eg: <message><foo/></message> fails).
      Instead, the closing characters ( > or /> ) of the first element should
      be used, as that's guaranteed to be present.
      12eba2f8
    • Guus der Kinderen's avatar
      OF-1087: BOSH namespace fix · 543ce079
      Guus der Kinderen authored
      A change introduced in Openfire 3.10.3 (OF-938) changed how the BOSH
      implementation would add default namespace definitions where applicable.
      This new implementation depends on a space from being present in the
      outer stanza. The 'fin' element that's transmitted here is wrapped in
      a message stanza without any attributes ( <message><fin ... ) which
      caused the namespace to be injected in the fin element (where the first
      space was).
      
      This commit adds a 'to' attribute to the wrapping message stanza, to
      allow for users to work around the problem without having to update
      Openfire itself.
      
      The BOSH implementation will be adjusted to account for this in another
      commit.
      543ce079
  12. 11 Feb, 2016 1 commit