[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] [PATCH] Fix for LDAP Bind DN and Password to allow
From: Tobias Koenig <tokoe () kde ! org>
Date: 2004-02-11 12:20:06
Message-ID: 20040211122006.GA27772 () ghostdog
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Tue, Feb 10, 2004 at 09:39:01PM -0500, Andrew W. Buchanan wrote:
> Tobias Wrote:
Hi Andrew,
> >What is the advantage of QTextOStream over a QString with arg()?
>
> The problem in this case can be illustrated with an example. Currently the
> ldap string is built as follows:
>
> query = QString("ldap://%1%2/%3?*?%4?(%
> 5)").arg( auth ).arg( host ).arg( mBase ).arg( mScope ).arg( filter );
>
> If you have a username of "tobias@kde.org" for example, and we now URL encode
> it, we get "tobias%40kde.org".
>
> After the first string replacement we get:
> ldap://tobias%40kde.org:password@%2/%3?*?%4?(%5)
Ahh, I see...
So I've commited the patch now to cvs HEAD, thank you very much.
Ciao,
Tobias
--
Separate politics from religion and economy!
["signature.asc" (application/pgp-signature)]
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic