[Tickets #14197] Re: Nag_Driver_Kolab stores parent_id strings base64 encoded (should be: unencoded)

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Dec 29 14:53:32 UTC 2015


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14197
------------------------------------------------------------------------------
  Ticket             | 14197
  Updated By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | Nag_Driver_Kolab stores parent_id strings base64
                     | encoded (should be: unencoded)
  Queue              | Kolab
  Type               | Bug
  State              | Resolved
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2015-12-29 14:53) wrote:

Regarding this new detection logic in nag/lib/Driver/Kolab.php

  +        /* Check if the decoded string resembles a uid hash...
+         */
+        if (!preg_match('/^[a-zA-Z0-9-]+$/', $decoded)) {
+            return false;
+        }


The format of the Kolab UID's is not fixed and can contain ":" and
other funky characters.

I remember vaguely that's one of the reasons Jan changed the internal IDs
when we reported that several backends were broken when using a Kolab driver
+ "special" UIDs that needed proper URI-encoding.

@Jan: Do you remember anything about this?






More information about the bugs mailing list