added sanitisation of routes
Merge pull request #1 from MauriceButler/master

added sanitisation of routes