[
https://issues.apache.org/jira/browse/MJAVADOC-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957990#comment-17957990
]
Olivier Lamy commented on MJAVADOC-607:
---------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-javadoc-plugin#901|https://github.com/apache/maven-javadoc-plugin/issues/901].
> 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 (Moved to GitHub Issues)
> 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.2.0
>
> Time Spent: 20m
> 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
(v8.20.10#820010)