Subject: | Parse TXT records with a ; |
Date: | Fri, 08 Apr 2011 15:30:31 +0200 |
To: | bug-DNS-ZoneParse [...] rt.cpan.org |
From: | Pierre LEBRECH <pierre.lebrech [...] laposte.net> |
Hello,
I have just tested the new release DNS-ZoneParse-1.10. Thanks for this
new release.
I have loaded successfully a zone with a TXT record. This record
contains DKIM data like this :
cm._domainkey.test.com. 600 IN TXT "k=rsa; t=y; p=MHswD_cut for
readability_QYAAE="
We can see semi-colomns in the data part of the record.
The load of the zone is OK. But, when we call the output() method, it
prints a backslash before each semi-colomn.
But, each time we call the output() method, the number of backslashes
increases.
* first call of the output() method :
cm._domainkey.test.com. 600 IN TXT "k=rsa\; t=y\; p=MHswD_cut for
readability_QYAAE="
* second call of the output() method :
cm._domainkey.test.com. 600 IN TXT "k=rsa\\\; t=y\\\; p=MHswD_cut
for readability_QYAAE="
* third call of the output() method :
cm._domainkey.test.com. 600 IN TXT "k=rsa\\\\\\\; t=y\\\\\\\;
p=MHswD_cut for readability_QYAAE="
Normally, printing the same object should print the same thing.
It would be really great if this problem could be solved.
Thx very much.