Skip to content

Cookie name with 'special symbols' #35

Description

@nordicdyno

Cookie names not escaped in search pattern. Now this is user's side work.
It would be much better and more natural to esape names like it done in this code (function escape_lua_pattern):
https://github.com/lua-nucleo/lua-nucleo/blob/master/lua-nucleo/string.lua#L247

Otherwise it's easy make mistakes in code like that:

val = r.cookies["some-session-id"]

P.S.
Also there is no method in API to fetch all cookies. I think it would be useful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions