I think its an banal bug, but would be happy if someone can help me with this.. Here` s the code:
($CON,$WWW,$HOST,$SLD,$TLD,$PORT) = $conf =~ m|(http(?:s?))?(?:(?::
Following "types" of URLs must come through:
and if they come with a port, it must work too:
If a URl with port is used everything works fine. Without Port nothing works
http(s) www example.de example de 443
if something is missing: http://example.de:80 :
http "empty" example.de example de 80 ”
Somewhere must be a little bug.
No Variable gets a value if a URL with no Port is given
I guess the reason is "?::". No ":" no match. If I change it both URLs are accepted but it does not split up the Port. The port remains at the TopLevelDomain and is joined to the host variable.