You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2019/01/04 18:27:00 UTC

[jira] [Closed] (MJAVADOC-527) detectLinks may pass invalid URLs to javadoc(1)

     [ https://issues.apache.org/jira/browse/MJAVADOC-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MJAVADOC-527.
-----------------------------------
    Resolution: Fixed

Fixed with [34fccfb151ba0603556d57e1972ac897bce05a5e|https://gitbox.apache.org/repos/asf?p=maven-javadoc-plugin.git;a=commit;h=34fccfb151ba0603556d57e1972ac897bce05a5e].

> detectLinks may pass invalid URLs to javadoc(1)
> -----------------------------------------------
>
>                 Key: MJAVADOC-527
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-527
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: javadoc
>    Affects Versions: 3.0.1
>         Environment: Windows 10
> JDK 8
> Maven 3.5.2
>            Reporter: Roberto Benedetti
>            Assignee: Michael Osipov
>            Priority: Major
>              Labels: detectLinks
>             Fix For: 3.1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The url of artifact com.sun.mail:mailapi:1.5.5 is [http://javamail.java.net/mailapi], so the plugin tests if [http://javamail.java.net/mailapi/apidocs/package-list] is valid.
>  That url redirects to [https://javaee.github.io/javamail/] which is JavaMail home page, so the plugin thinks the url is valid and passes it to javadoc.
>  javadoc warns about invalid link.
> Maybe checking if the effective url is still "package-list" would be safer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)