Might I suggest splitting on other chars, like `<` and `>` too? The sup-recommended way of viewing HTML emails [1] wraps URLs with these chars (`<http://www.google.com>`). Parsing these types of URLs will fail if we split only on whitespace. How about something like 
```ruby
  linetext.split(/[\s<>\\]/).each do |blob|
``` 
This will allow us to parse just the URL out of the string...

[1] https://github.com/sup-heliotrope/sup/wiki/Viewing-Attachments#decoding-attachments