Only redirect to http, https and ftp allowed