Show
Ignore:
Timestamp:
08/24/10 21:31:46 (21 months ago)
Author:
Antti-Juhani Kaijanaho <antti-juhani@…>
Children:
7eb42bed950e3f81ef9f0d39432e07c55f12cc22
Parents:
ec0da3f87768820f9ca9e8065c7998e9d825bd4c
git-committer:
Antti-Juhani Kaijanaho <antti-juhani@…> (08/24/10 21:31:46)
Message:

[http::request] Cleanup

Signed-off-by: Antti-Juhani Kaijanaho <antti-juhani@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • http/sub.cc

    r4c34ee2 r751fac6  
    5050        (boost::shared_ptr<request> req, response::factory) 
    5151        { 
    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"); 
    5553                if (redir.empty()) 
    5654                { 
     
    8179                try 
    8280                { 
    83                         gr = cb.dbase().lookup_group(lookup(fb, "group")); 
     81                        gr = cb.dbase().lookup_group(req->get_form_field("group")); 
    8482                } 
    8583                catch (db::no_such_group) 
    8684                { 
    8785                        logger::logline ll; 
    88                         ll << "no such group " << lookup(fb, "group"); 
     86                        ll << "no such group " << req->get_form_field("group"); 
    8987                        throw resource_exception(resp); 
    9088                }