fix: Allow for underscores in urls

Signed-off-by: phinze <paul.t.hinze@gmail.com>

cleaned up a bit from #1066 but retains @sheerun's original strategy