Mailing list links break if the address starts with http
--------------------------------------------------------

         Key: MPXDOC-186
         URL: http://jira.codehaus.org/browse/MPXDOC-186
     Project: maven-xdoc-plugin
        Type: Bug

    Versions: 1.9.2    
    Reporter: Ortwin Glück


Our mailing lists have email addresses that start with http: e.g. [EMAIL 
PROTECTED]

Our POM:
http://svn.apache.org/repos/asf/jakarta/commons/proper/httpclient/trunk/project.xml

The generated HTML:
http://jakarta.apache.org/commons/httpclient/mail-lists.html

As you can see the mailing list links are missing the mailto: prefix.

The problem is on line 24 in the file plugin-resources/templates/mail-lists.xml:

#if ($link.trim().startsWith("http"))

which should be

#if ($link.trim().startsWith("http://";))

or equivalent.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to