Discussion:
MJAVADOC-539 - redirect detection breaks formerly working javadoc links
Julian Reschke
2018-10-17 13:41:22 UTC
Permalink
Hi there,

with 3.0.1, a javadoc link that "worked" before is now broken.

This is because

https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0/

redirects to

https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0/index.html

and apparently javadoc now tries


https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0/index.html/

resulting in
[WARNING] javadoc: warning - Error fetching URL: https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0/index.html/
Going back to 3.0.0 fixes the issue, so it seems the javadoc tool itself
can handle the URI.

It seems the "follow redirects" logic needs to be more careful, or,
alternatively, it should be possible to turn it off.

Best regards, Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@maven.apache.org
For additional commands, e-mail: dev-***@maven.apache.org
Julian Reschke
2018-10-18 09:37:38 UTC
Permalink
Hi there,

with 3.0.1, a javadoc link that "worked" before is now broken.

This is because

https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0/

redirects to

https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0/index.html

and apparently javadoc now tries


https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0/index.html/

resulting in
[WARNING] javadoc: warning - Error fetching URL: https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0/index.html/
Going back to 3.0.0 fixes the issue, so it seems the javadoc tool itself
can handle the URI.

It seems the "follow redirects" logic needs to be more careful, or,
alternatively, it should be possible to turn it off.

Best regards, Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-***@maven.apache.org
For additional commands, e-mail: dev-***@maven.apache.org

Loading...