[
https://issues.apache.org/jira/browse/MJAVADOC-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MJAVADOC-607.
-----------------------------------
Resolution: Fixed
Assignee: Robert Scholte
Fix Version/s: 3.1.2
Fixed in
[b1c029f26c4dc40b29a0e122e5c42b294845acfd|https://gitbox.apache.org/repos/asf?p=maven-javadoc-plugin.git;a=commit;h=b1c029f26c4dc40b29a0e122e5c42b294845acfd]
Thanks for the patch!
> followLinks fix to get redirect target breaks for certain sites
> ---------------------------------------------------------------
>
> Key: MJAVADOC-607
> URL: https://issues.apache.org/jira/browse/MJAVADOC-607
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 3.0.1, 3.1.0
> Reporter: Michiel Hendriks
> Assignee: Robert Scholte
> Priority: Major
> Labels: up-for-grabs
> Fix For: 3.1.2
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The followLinks fix from MJAVADOC-427 breaks links which are valid, but do
> not produce a 200 or 3xx HTTP response on the base URL.
> For example to link to javadoc hosted by javadoc.io you would use the link:
> [https://static.javadoc.io/org.apache.maven.plugins/maven-javadoc-plugin/3.1.0]
> As this is hosted on S3 it returns a 403, but the package-list does given a
> 200:
> [https://static.javadoc.io/org.apache.maven.plugins/maven-javadoc-plugin/3.1.0/package-list]
> With version 3.0.0 these links work correctly.
>
> It might be better to check for redirect targets by including the
> /package-list part in the URL to test.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)