Fixing rack and rails vulnerability