jackgene / sftp-servlet-container

A servlet container that uses SFTP instead of HTTP as its access protocol.
1 stars 0 forks source link

Strip HttpOnly from Cookie before parsing #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
On some platforms java.net.HttpCookie (which we are using to parse cookies) 
does not recognize the HttpOnly attribute and throws and exception upon 
encountering it, even though HttpOnly is quite widely used.

Removed HttpOnly from the cookie header before parsing to avoid running into 
this issue.

Original issue reported on code.google.com by jackg...@gmail.com on 22 Jul 2012 at 4:06

GoogleCodeExporter commented 8 years ago

Original comment by jackg...@gmail.com on 22 Jul 2012 at 4:06

GoogleCodeExporter commented 8 years ago

Original comment by jackg...@gmail.com on 24 Jul 2012 at 3:24