Re: [Cppcms-users] query string
Brought to you by:
artyom-beilis
|
From: Joerg S. <jo...@br...> - 2015-09-30 15:23:33
|
On Wed, Sep 30, 2015 at 12:02:21PM +0300, kpeo wrote:
> And GET is less secure than POST, because itexposes the information via the
> URL.
Please don't repeat such nonsense. Both data sets can be easily forged.
Correctly written GET request handlers are secure simply because they do
not change any state. If they do, they are violating the RFCs badly.
> The next, some time I use identifier / name of field using query
> string &data[x][name]=value
>
> Is it convert to array like PHP post method, or we must loop manually
> using request().get("data[x][name]")?
They is no further deserialization going on, think of it as a string to
string map. If you need something more complex, it is often easiest to
hook up the JSON parser.
Joerg
|