Fixes issue #189
This commit is contained in:
parent
428783e183
commit
b3ae4f5c7b
@ -59,11 +59,10 @@ public:
|
|||||||
|
|
||||||
INFO((Tm->tm_mday < 10 ? "0" : "" ) << Tm->tm_mday << "-" << (Tm->tm_mon < 10 ? "0" : "" ) << Tm->tm_mon << "-" << 1900+Tm->tm_year << " " << (Tm->tm_hour < 10 ? "0" : "" ) << Tm->tm_hour << ":" << (Tm->tm_min < 10 ? "0" : "" ) << Tm->tm_min << ":" << (Tm->tm_sec < 10 ? "0" : "" ) << Tm->tm_sec << " " <<
|
INFO((Tm->tm_mday < 10 ? "0" : "" ) << Tm->tm_mday << "-" << (Tm->tm_mon < 10 ? "0" : "" ) << Tm->tm_mon << "-" << 1900+Tm->tm_year << " " << (Tm->tm_hour < 10 ? "0" : "" ) << Tm->tm_hour << ":" << (Tm->tm_min < 10 ? "0" : "" ) << Tm->tm_min << ":" << (Tm->tm_sec < 10 ? "0" : "" ) << Tm->tm_sec << " " <<
|
||||||
req.endpoint.to_string() << " " << req.referrer << ( 0 == req.referrer.length() ? "- " :" ") << req.agent << ( 0 == req.agent.length() ? "- " :" ") << request );
|
req.endpoint.to_string() << " " << req.referrer << ( 0 == req.referrer.length() ? "- " :" ") << req.agent << ( 0 == req.agent.length() ? "- " :" ") << request );
|
||||||
std::string command;
|
|
||||||
std::size_t firstAmpPosition = request.find_first_of("?");
|
std::size_t firstAmpPosition = request.find_first_of("?");
|
||||||
command = request.substr(1,firstAmpPosition-1);
|
|
||||||
//DEBUG("[debug] looking for handler for command: " << command);
|
//DEBUG("[debug] looking for handler for command: " << command);
|
||||||
try {
|
try {
|
||||||
|
std::string command = request.substr(1,firstAmpPosition-1);
|
||||||
if(pluginMap.Holds(command)) {
|
if(pluginMap.Holds(command)) {
|
||||||
|
|
||||||
RouteParameters routeParameters;
|
RouteParameters routeParameters;
|
||||||
|
Loading…
Reference in New Issue
Block a user