Minimal security check for the glob syntax