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 */
pos_p ++;
}
if(url.at(0) != "/" || pos_b > 0) {
if(url.at(0) != "/" || pos_p > 0) {
/* schema */
pos_c = url.find("://");
if (pos_c != std::string::npos) {