Ensure that white spaces is trimmed from the URLs read from a file. ~Please note that in my tests there is an issue where urls read from a text file have an space added to the start (this space is NOT in the text file) so there is another issue that you can add from the friction log or I could add it separately.~
Update: there is no issue, the file really had spaces at the front of each URL but Vim wasn't jumping to it when going to the next line because of my settings, I'm an idiot, still this PR has merit to make the parsing of URLs more robust.
Ensure that white spaces is trimmed from the URLs read from a file. ~Please note that in my tests there is an issue where urls read from a text file have an space added to the start (this space is NOT in the text file) so there is another issue that you can add from the friction log or I could add it separately.~
Update: there is no issue, the file really had spaces at the front of each URL but Vim wasn't jumping to it when going to the next line because of my settings, I'm an idiot, still this PR has merit to make the parsing of URLs more robust.
Signed-off-by: Juanjo Alvarez juanjo@sourced.tech