Do some sanitisation on some configuration provided data (refs #518 and various others)
Merge pull request #533 from mapkyca/ini-sanitisation

Do some sanitisation on user supplied configuration settings