Prevention of protocol attacks (\n inclusion).