fix: Allow for underscores in urls

Should fix #981. Ugly ugly hack, but works.