nginx_cookie_flag_module icon indicating copy to clipboard operation
nginx_cookie_flag_module copied to clipboard

fix bug in patten search; enable set in http scope; enable work with …

Open zls0424 opened this issue 6 years ago • 2 comments

  • fix bug in patten search, use ngx_strlcasestrn instead of ngx_strcasestrn
  • enable set in http scope
  • enable work with userid module

zls0424 avatar Jan 25 '19 16:01 zls0424

Hello @zls0424 ,

can you give an example of a case that leads to a bug that you try to fix in first commit?

AirisX avatar Mar 13 '19 12:03 AirisX

Hello @zls0424 ,

can you give an example of a case that leads to a bug that you try to fix in first commit?

Hi AirisX,

when a cookie with name uuid is set in response header, like

set-cookie: uuid=ZylrjlyJ2oAoAQksA1O5Ag==; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/

then cookie names like uid, uuid, Ag set with set_cookie_flag will all match the cookie header line.

zls0424 avatar Mar 14 '19 04:03 zls0424