Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Failed parse cookies value with space #8

Open
ryannining opened this issue Mar 17, 2015 · 3 comments
Open

Failed parse cookies value with space #8

ryannining opened this issue Mar 17, 2015 · 3 comments

Comments

@ryannining
Copy link

Failed parse cookies value with space, should comment out 2 lines (73 74)
-- or byte(text_cookie, j) == SPACE
-- or byte(text_cookie, j) == HTAB

to make it work with space in cookie value

@calio
Copy link
Contributor

calio commented Mar 18, 2015

Answered in #7. And can you give me an example of cookie you want to parse?

@ryannining
Copy link
Author

Just normal cookie like "ryan widi".

@ryannining
Copy link
Author

I am convert my website from PHP code to lua moonscript using openresty.
It's work only I comment that 2 line. Or else it wont parse cookies value with space.

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

No branches or pull requests

2 participants