Skip to content

Improve redirect detection for javadocs #1041

@kwin

Description

@kwin

New feature, improvement proposal

Currently the given externalJavadocBaseUrl is being used first to construct a target url (e.g. to element-list) and then it is requested. This fails when there is no deep redirect support. For example the Oracle URL https://docs.oracle.com/javase/11/docs/api/ redirects to https://docs.oracle.com/en/java/javase/11/docs/api/index.html but https://docs.oracle.com/javase/11/docs/api/element-list is also redirected to https://docs.oracle.com/en/java/javase/11/docs/api/index.html instead of https://docs.oracle.com/en/java/javase/11/docs/api/element-list.

In order to support redirects which always redirect to the index page, the request url should be constructed after the redirect target has been been resolved.

This requires some change in

.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions