fix for whitespaces inside of allowedUrls for real