If record data has empty spaces it should be surrounded by double quotes.
This patch will raise an error during validation if record has whitespaces,
empty spaces, tabs, etc., but not wrapped in " " (double quotes).
Corresponding RFC part:
<character-string> is expressed in one or two ways: as a contiguous set
of characters without interior spaces, or as a string beginning with a "
and ending with a ". Inside a " delimited string any character can
occur, except for a " itself, which must be quoted using \ (back slash).
Reviewed: https:/ /review. opendev. org/555398 /git.openstack. org/cgit/ openstack/ designate/ commit/ ?id=02ef0350af6 bb2ee1aacb6e7e4 ec9acb21eb3dc7
Committed: https:/
Submitter: Zuul
Branch: master
commit 02ef0350af6bb2e e1aacb6e7e4ec9a cb21eb3dc7
Author: Dmitry Galkin <email address hidden>
Date: Thu Mar 22 17:53:27 2018 +0000
Check TXT/SPF records for RFC1035 sec. 5.1
If record data has empty spaces it should be surrounded by double quotes.
This patch will raise an error during validation if record has whitespaces,
empty spaces, tabs, etc., but not wrapped in " " (double quotes).
Corresponding RFC part:
<character- string> is expressed in one or two ways: as a contiguous set
of characters without interior spaces, or as a string beginning with a "
and ending with a ". Inside a " delimited string any character can
occur, except for a " itself, which must be quoted using \ (back slash).
Closes-Bug: 1755788 /review. openstack. org/#/c/ 617809/ 1337ab3602a84a4 3fd043dcaa2
Depends-On: https:/
Change-Id: I159d0732688ddf