db_mysql: fixed condition checking the parameter for db uri parsing

- on a report generated by cppcheck sent by David Binderman
db_postgres: fixed condition checking the parameter for db uri parsing

- on a report generated by cppcheck sent by David Binderman
xhttp: check first the possition limits then access the data

- in the eval function for the transformation
- on a report generated by cppcheck sent by David Binderman