Parent: a4b6035009ec7ecb3b900f0f1188f2788d4df5c9
Author: Rafal Michalski <michalski.raf@gmail.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:44
Tree: 82706746d948fcb60dc04d351a0405a2e6157b0e
obexd: Fix semicolon delimiter issue in address fields Previously semicolon was used as delimiter when address vCard fields are concatenated (at the moment of fetching from database via query). It was introducing confusion at the moment of splitting address string into seperate fields, since these fields may contain semicolons as well. In this case it leads to treating some semicolons - characters in address fields - as real delimiters (no escaped but it should) and other semicolons - real delimiters - as characters in address field (escaped but it shouldn't). This patch fixes problem described above, since semicolon delimiter is replaced by character called Unit Separator (equal to '\37') which shouldn't be present in address fields.
Diffstat
| M | obexd/plugins/phonebook-tracker.c | | | 39 | ++++++++++++++++++++- - - - - - - - - - - - - - - - - - - |
1 files changed, 20 insertions(+), 19 deletions(-)