We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70021cc commit 58b54bbCopy full SHA for 58b54bb
src/parsing.cpp
@@ -27,11 +27,6 @@ std::vector < std::string > parsing::domain_and_port(std::string& url){
27
std::string holding;
28
unsigned int output_offset = 0;
29
30
- // Handle www
31
- if(url.size() > 4 && url.substr(0,4) == "www."){
32
- url = url.substr(4);
33
- }
34
-
35
// Identify the port. If there is one, push everything
36
// before that straight into the output, and the remainder
37
// into the holding string. If not, the entire
0 commit comments