Skip Menu |
 

This queue is for tickets about the DNS-ZoneParse CPAN distribution.

Report information
The Basics
Id: 67331
Status: open
Priority: 0/
Queue: DNS-ZoneParse

People
Owner: Nobody in particular
Requestors: pierre.lebrech [...] laposte.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.
Download (untitled) / with headers
text/plain 446b
I'm unable to reproduce this exact error. Given a quoted value with semicolons embedded they will be escaped on output by ZoneParse, but that doesn't change their value according to BIND. That is, given recordtest TXT "this;that" DNS::ZoneParse will output: recordtest TXT "this\;that" However, once the zone is loaded, the data served by the DNS server should be "this\;that" in both cases. Can you create a better test case for this issue?


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.