[Interest] Encode POST data for QNetworkAccessManager
Thiago Macieira
thiago at kde.org
Wed Feb 1 13:34:48 CET 2012
On Wednesday, 1 de February de 2012 13.18.26, NoRulez wrote:
> params.addQueryItem(QLatin1String("regex"),
> QLatin1String("\\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}\\b"));
Use addEncodedQueryItem here and encode it yourself. The + should be %2b.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120201/cc920373/attachment.sig>
More information about the Interest
mailing list