diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-10-11 15:09:06 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-10-11 15:09:06 +0000 |
| commit | b3036d5840b7aea50fa88dd01d7be7c0cc6fe74e (patch) | |
| tree | 1342d9893760ceceb2ea953b5e13adba6264e46b /src/cookie_helper.cc | |
| parent | b56a0a6d79b32cdc25ff11e7bd7714b2c19095ad (diff) | |
2010-10-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Skip ";" after name value pair.
* src/cookie_helper.cc
Diffstat (limited to 'src/cookie_helper.cc')
| -rw-r--r-- | src/cookie_helper.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cookie_helper.cc b/src/cookie_helper.cc index 5dc6cab3..d1cdbc73 100644 --- a/src/cookie_helper.cc +++ b/src/cookie_helper.cc @@ -221,6 +221,9 @@ bool parse bool secure = false; bool httpOnly = false; + if(nvEnd != end) { + ++nvEnd; + } for(std::string::const_iterator i = nvEnd; i != end;) { std::string::const_iterator j = std::find(i, end, ';'); std::string::const_iterator eq = std::find(i, j, '='); |
