The fallback location regex can get confused if the input data contains
URLs, and the confusion will cause wgetpaste to print the wrong link to
the paste.
Updated the regex so it finds the last URL that contains the service
URL. wgetpaste can still get confused after this commit, but this
commit should reduce the likelihood.
The fallback location regex can get confused if the input data contains URLs, and the confusion will cause wgetpaste to print the wrong link to the paste.
Updated the regex so it finds the last URL that contains the service URL. wgetpaste can still get confused after this commit, but this commit should reduce the likelihood.
Signed-off-by: Nicholas Vinson nvinson234@gmail.com Fixes issue #10