Skip to content

Commit 58b54bb

Browse files
author
Oliver Keyes
committed
bah. cannot be done without introducing inconsistencies.
1 parent 70021cc commit 58b54bb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/parsing.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ std::vector < std::string > parsing::domain_and_port(std::string& url){
2727
std::string holding;
2828
unsigned int output_offset = 0;
2929

30-
// Handle www
31-
if(url.size() > 4 && url.substr(0,4) == "www."){
32-
url = url.substr(4);
33-
}
34-
3530
// Identify the port. If there is one, push everything
3631
// before that straight into the output, and the remainder
3732
// into the holding string. If not, the entire

0 commit comments

Comments
 (0)