[Interest] Encode POST data for QNetworkAccessManager
Thiago Macieira
thiago at kde.org
Tue Jan 31 19:02:47 CET 2012
On Tuesday, 31 de January de 2012 18.53.44, norulez at me.com wrote:
> Hi,
>
> I want to send some specific data to a PHP Script.
> For example a regular expression.
>
> My problem now is that a '+' is replaced by a whitespace for example.
>
> Any hints would be great.
You didn't tell us how you encoded it. So we don't know what went wrong.
HTML forms use "+" for spaces. If you want to transmit a plus, make sure you
write "%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/20120131/17d522f8/attachment.sig>
More information about the Interest
mailing list