bungle / lua-resty-session

Session library for OpenResty – flexible and secure
BSD 2-Clause "Simplified" License
320 stars 111 forks source link

fix(session): remember_meta false check #159

Closed samugi closed 1 year ago

samugi commented 1 year ago

The default value for self.remember_meta is false but the parameter is then treated as a table. This was causing a problem (during calculation of cookie chunks) when the session was opened with cookie storage and remember=true where the boolean value was being indexed.