JC-1658: Changed [url] stripping for message length calculation