diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-03 16:19:21 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-03 16:19:21 +0900 |
| commit | 6ef91d60b34a2a93b397b6db4daabfe8017d31fb (patch) | |
| tree | 9bea3d0ad7b599280b18e5e5d42ecd6201c2f0e8 /src/Sqlite3CookieParser.cc | |
| parent | e8d4deecad3c0b2defb3059ed11eaae24feb2e81 (diff) | |
Rewritten util::stripIter(), which now returns pair of iterator.
Diffstat (limited to 'src/Sqlite3CookieParser.cc')
| -rw-r--r-- | src/Sqlite3CookieParser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sqlite3CookieParser.cc b/src/Sqlite3CookieParser.cc index 804e691d..1de7b225 100644 --- a/src/Sqlite3CookieParser.cc +++ b/src/Sqlite3CookieParser.cc @@ -108,7 +108,7 @@ int cookieRowMapper(void* data, int columns, char** values, char** names) std::string cookieName = toString(values[4]); std::string cookiePath = toString(values[1]); if(cookieName.empty() || cookieDomain.empty() || - !cookie::goodPath(cookiePath)) { + !cookie::goodPath(cookiePath.begin(), cookiePath.end())) { return 0; } int64_t expiryTime; |
