[ 
https://issues.apache.org/jira/browse/MJAVADOC-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roberto Benedetti updated MJAVADOC-528:
---------------------------------------
    Description: 
When detectLinks is enabled and the plugin checks if the url is valid, warnings 
like this
{code:java}
Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; 
expires=Sun, 06 Jun 2038 14:02:43 -0000; secure; HttpOnly". Invalid 'expires' 
attribute: Sun, 06 Jun 2038 14:02:43 -0000
{code}
may appear.

Previous warning was due to {{com.google.code.gson:gson:jar:2.5}} dependency 
and is raised by HttpClient which does not expect 'expires' values compliant to 
RFC 6265.
 The attachment is a patch which makes HttpClient ignore cookies. Maybe a 
better solution would be upgrading to the latest HttpComponents API which 
supports RFC 6265.

  was:
When detectLinks is enabled and the plugin checks if the url is valid, warnings 
like this
{code:java}
Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; 
expires=Sun, 06 Jun 2038 14:02:43 -0000; secure; HttpOnly". Invalid 'expires' 
attribute: Sun, 06 Jun 2038 14:02:43 -0000
{code}
may appear.

The warning is raised by HttpClient which does not expect 'expires' values 
compliant to RFC 6265.
The attachment is a patch which makes HttpClient ignore cookies. Maybe a better 
solution would be upgrading to the latest HttpComponents API which supports RFC 
6265.


> Invalid 'expires' attribute
> ---------------------------
>
>                 Key: MJAVADOC-528
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-528
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: javadoc
>    Affects Versions: 3.0.1
>            Reporter: Roberto Benedetti
>            Priority: Major
>              Labels: detectLinks
>         Attachments: cookie.patch
>
>
> When detectLinks is enabled and the plugin checks if the url is valid, 
> warnings like this
> {code:java}
> Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; 
> expires=Sun, 06 Jun 2038 14:02:43 -0000; secure; HttpOnly". Invalid 'expires' 
> attribute: Sun, 06 Jun 2038 14:02:43 -0000
> {code}
> may appear.
> Previous warning was due to {{com.google.code.gson:gson:jar:2.5}} dependency 
> and is raised by HttpClient which does not expect 'expires' values compliant 
> to RFC 6265.
>  The attachment is a patch which makes HttpClient ignore cookies. Maybe a 
> better solution would be upgrading to the latest HttpComponents API which 
> supports RFC 6265.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to