You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2010/01/07 17:43:10 UTC
[jira] Resolved: (JSPF-84) Incorrect "escaping" of TXT records
content
[ https://issues.apache.org/jira/browse/JSPF-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefano Bagnara resolved JSPF-84.
---------------------------------
Resolution: Fixed
I think this is resolved by upgrading dnsjava to 2.0.8 (resolved in dnsjava 2.0.7)
> Incorrect "escaping" of TXT records content
> -------------------------------------------
>
> Key: JSPF-84
> URL: https://issues.apache.org/jira/browse/JSPF-84
> Project: JAMES jSPF
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.9.7
> Reporter: Stefano Bagnara
> Assignee: Stefano Bagnara
> Priority: Minor
> Fix For: 0.9.8
>
>
> DNSServiceXBillImpl uses dnsjava txt.getStrings() method to retrieve strings from a TXT records.
> Unfortunately txt.getStrings() internally "convert" bytes to a representation format that format strings escaping them from double quotes.
> In this case we don't need the escaped strings, so we'll have to better use txt.getStringsAsByteArrays and convert them to string the way we need it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org