libinjection sync
Merge pull request #141 from client9/remotes/trunk

libinjection sync to v3.6.0
nginx: Makes the build script to check for deps

The ModSecurity module has some dependencies that may not be part
of the Nginx build, and so it is not part of the configuration
options. In order to resolve this dependencies automatically this
`config' is now making use of the pkg-config, utility that is
popular to make this compatible layer between different Linux
distributions and operational systems.
Merge pull request #147 from zimmerle/fix_nginx_build_config_top_of_trunk

Try 3 - nginx: Makes the build script to check for deps
Bugfix: missing string terminator while mounting the charset (nginx)

The charset in headers is mounted using ngx_snprintf which
does not place the string terminator. This patch adds the
terminator at the end of the string. The size was correctly
allocated, just missing the terminator.

This bug was report at:
- https://www.modsecurity.org/tracker/browse/MODSEC-420
- https://github.com/SpiderLabs/ModSecurity/issues/142

Both reports cames with patch, first by Veli Pekka Jutila and
second by wellumies.
Merge pull request #148 from zimmerle/bugfix_charset_missing_string_terminator

Bugfix: missing string terminator while mounting the charset (nginx)
libinjection sync
libinjection sync
Merge pull request #152 from client9/remotes/trunk

Merge pull request #152 from client9/remotes/trunk

Sync to libinjection v3.7.1
libinjection sync
Merge pull request #578 from client9/remotes/trunk

libinjection sync to v3.8.0
Revert "Merge pull request #139 from chaizhenhua/remotes/trunk"

This reverts commit 10fd40fb0d06f6c577d870b6f15d2f6e2a3a5b1b, reversing
changes made to 414033aafa94cd50c9b310afd3f164740caccc94.
Merge pull request #579 from zimmerle/revert_139

Revert merge request #139
Fix #154, Uses addn instead of apr_table_setn

The headers are represented in the format of an apr_table, which
is able to handle elements with the same key, however the function
apr_table_setn checks if the key exists before add the element, if so
it replaces the old value with the new one. This was making our
implementation to just keep the last added Cookie. The apr_table_addn
function, which is now used, just add a new item without check for
olders one.