[bp/r50042][SEC] sql log: filter user input

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/9.x@50044 b456876b-0849-0410-b77d-98878d47e9d5
[bp/r50047 and r41704][SEC] installer: filter more user inputs

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/9.x@50050 b456876b-0849-0410-b77d-98878d47e9d5