You'll likely need to check for contains() rather than startsWith. Granted, it makes no sense to have both renew and gateway in the request, but this is just extra safety