Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie name with 'special symbols' #35

Open
nordicdyno opened this issue Sep 23, 2014 · 0 comments
Open

Cookie name with 'special symbols' #35

nordicdyno opened this issue Sep 23, 2014 · 0 comments

Comments

@nordicdyno
Copy link

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.

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

No branches or pull requests

1 participant