~gjabell/bmk

3afad5cf10360fcd0ed610a260107fa2bc08db26 — Galen Abell 5 years ago 0c17813
Switch to using parse instead of parseURI
1 files changed, 1 insertions(+), 1 deletions(-)

M cmd/add.go
M cmd/add.go => cmd/add.go +1 -1
@@ 70,7 70,7 @@ func init() {
}

func isValidURL(str string) bool {
	_, err := url.ParseRequestURI(str)
	_, err := url.Parse(str)

	return err == nil
}