Skip to content

Commit f3e4ccc

Browse files
author
Jelle Dijkstra
committed
Removed regex check for baseurl
1 parent e799b57 commit f3e4ccc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/v2beta1/atom_conversion.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ package v2beta1
2626

2727
import (
2828
"log"
29+
"net/url"
2930
"strconv"
3031
"time"
3132

@@ -322,7 +323,7 @@ func (a *Atom) ConvertFrom(srcRaw conversion.Hub) error {
322323
}
323324

324325
func createBaseURL(host string, general General) (*smoothoperatormodel.URL, error) {
325-
baseURL, err := smoothoperatormodel.ParseURL(host)
326+
baseURL, err := url.Parse(host)
326327
if err != nil {
327328
return nil, err
328329
}

0 commit comments

Comments
 (0)