MJAVADOC-539 - redirect detection breaks formerly working javadoc links

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

MJAVADOC-539 - redirect detection breaks formerly working javadoc links

Julian Reschke
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

MJAVADOC-539 - redirect detection breaks formerly working javadoc links

Julian Reschke
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: [hidden email]
For additional commands, e-mail: [hidden email]