Changeset 751fac6b567d675afee10e627efb5cf786ce5c83 for http/sub.cc
- Timestamp:
- 08/24/10 21:31:46 (21 months ago)
- Children:
- 7eb42bed950e3f81ef9f0d39432e07c55f12cc22
- Parents:
- ec0da3f87768820f9ca9e8065c7998e9d825bd4c
- git-committer:
- Antti-Juhani Kaijanaho <antti-juhani@…> (08/24/10 21:31:46)
- Files:
-
- 1 modified
-
http/sub.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
http/sub.cc
r4c34ee2 r751fac6 50 50 (boost::shared_ptr<request> req, response::factory) 51 51 { 52 std::multimap<std::string,std::string> fb = 53 req->get_form_data(); 54 std::string redir = lookup(fb, "redir"); 52 std::string redir = req->get_form_field("redir"); 55 53 if (redir.empty()) 56 54 { … … 81 79 try 82 80 { 83 gr = cb.dbase().lookup_group( lookup(fb,"group"));81 gr = cb.dbase().lookup_group(req->get_form_field("group")); 84 82 } 85 83 catch (db::no_such_group) 86 84 { 87 85 logger::logline ll; 88 ll << "no such group " << lookup(fb,"group");86 ll << "no such group " << req->get_form_field("group"); 89 87 throw resource_exception(resp); 90 88 }
