This commit is contained in:
Jeff Becker 2016-06-13 08:52:54 -04:00
parent a183ca8661
commit ea7e6615f2
No known key found for this signature in database
GPG key ID: AB950234D6EA286B

View file

@ -75,7 +75,7 @@ namespace http {
/* specical case */ /* specical case */
pos_p ++; pos_p ++;
} }
if(url.at(0) != "/" || pos_b > 0) { if(url.at(0) != "/" || pos_p > 0) {
/* schema */ /* schema */
pos_c = url.find("://"); pos_c = url.find("://");
if (pos_c != std::string::npos) { if (pos_c != std::string::npos) {