Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.1
Description
When detectLinks is enabled and the plugin checks if the url is valid, warnings like this
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
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.