I have less hands on the web-application and currently facing one critical issue.
Issue: “NULL” string terminating character contained in $_POST is not getting parse on 32-bit server.
We have client, implemented in c/c++ code and uses curl library to communicate with server.
We have two servers with following configurations
1) 64 bit-Server: 7.0-STABLE FreeBSD, apache2, php 5.2.5
2) 32 bit-Server: 5.4-RELEASE FreeBSD, apache2, php 5.0.3
Now, when client machine sent a request (post method) to a 64-server containing “null” character is properly getting parse/understand by server but when same request is sending on 32-bit server, string present after “null” character getting truncated on 32-bit server.
I searched a lot on google about the issue but no help yet. My suspect is something to do with apache server settings.
Any pointer on it will be highly appreciated.
Thanks in Advance….