domain only urls don't have slashes, just hashes

master
Ted Unangst 4 years ago
parent 7d9e96a674
commit 8334161c35

@ -1,5 +1,9 @@
changelog
=== next
+ Fix pubkey issue with domain only keys.
=== 0.9.2 Malleable Maltote
+ Fix compilation on mac.

@ -509,7 +509,7 @@ func ontologize(s string) string {
}
var re_unurl = regexp.MustCompile("https://([^/]+).*/([^/]+)")
var re_urlhost = regexp.MustCompile("https://([^/ ]+)")
var re_urlhost = regexp.MustCompile("https://([^/ #]+)")
func originate(u string) string {
m := re_urlhost.FindStringSubmatch(u)

Loading…
Cancel
Save