benlucchesi / grails-cookie-session

cookie sessions for grails applications
28 stars 32 forks source link

Documentation or code bug with httponly flag #72

Open sanmibuh opened 7 years ago

sanmibuh commented 7 years ago

On documentation, the property is sethttponly : grails.plugin.cookiesession.sethttponly (http://plugins.grails.org/plugin/benlucchesi/cookie-session#understanding-cookiecount-and-maxcookiesize) If we set grails.plugin.cookiesession.sethttponly = true doesn't work.

On code, the property is httponly (https://github.com/benlucchesi/grails-cookie-session/blob/master/src/main/groovy/grails/plugin/cookiesession/CookieSessionRepository.groovy#L216) If we set grails.plugin.cookiesession.httponly = true works

double16 commented 7 years ago

Fixed in https://github.com/double16/grails-cookie-session/tree/release/4.0.0

dependencies { compile 'org.grails.plugins:cookie-session:4.0.0.RC1' }