fixed handling of links without http/https prefix
fix link processor mutating an array it's looping over