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 "Norman Maurer (JIRA)" <se...@james.apache.org> on 2008/02/22 07:18:19 UTC
[jira] Assigned: (JSPF-60) NullPointerException occurs if sender
contains two @
[ https://issues.apache.org/jira/browse/JSPF-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer reassigned JSPF-60:
---------------------------------
Assignee: Norman Maurer
> NullPointerException occurs if sender contains two @
> ----------------------------------------------------
>
> Key: JSPF-60
> URL: https://issues.apache.org/jira/browse/JSPF-60
> Project: jSPF
> Issue Type: Bug
> Affects Versions: 0.9.5
> Reporter: Frank Stolle
> Assignee: Norman Maurer
>
> The following code produces a NullPointerException:
> import org.apache.james.jspf.executor.SPFResult;
> import org.apache.james.jspf.impl.DefaultSPF;
> public class CheckSPF {
> /**
> * @param args
> */
> public static void main(String[] args) {
> String heloname = "a.server.com";
> String ip = "127.0.0.1";
> String from = "some@com/test@example.com";
> DefaultSPF spf = new DefaultSPF();
> SPFResult result = spf.checkSPF(ip, from, heloname);
> System.out.println("result: " + result.getResult());
> System.out.println("expl: " + result.getExplanation());
> System.out.println("header: " + result.getHeaderText());
> }
> }
> The problem is the duplicate @-character.
--
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