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

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/6.x@50045 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/6.x@50051 b456876b-0849-0410-b77d-98878d47e9d5