diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-06-09 22:59:12 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-06-09 22:59:12 +0200 |
commit | 8434e5c0dc22ade7fed8d7b447a783178d95d551 (patch) | |
tree | 0ec1f9889ba219ae18ed4fcff4d26607babda894 | |
parent | 1893399c5c98595facaa6161feda30813d637e5d (diff) | |
download | refcat-8434e5c0dc22ade7fed8d7b447a783178d95d551.tar.gz refcat-8434e5c0dc22ade7fed8d7b447a783178d95d551.zip |
update docs
-rw-r--r-- | skate/url.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/url.go b/skate/url.go index 91f0185..4ea406e 100644 --- a/skate/url.go +++ b/skate/url.go @@ -16,7 +16,7 @@ var ( patBrokenHttpSchema = regexp.MustCompile(`^https?[^://]*?.*`) patBrokenSchemaPrefix = regexp.MustCompile(`(http|https)\W+(.*)`) - // Note: technically, only "http" is the schema (https://stackoverflow.com/q/56297974/89391). + // Note: [...] and naming things, https://stackoverflow.com/q/56297974/89391. okPrefixes = []string{"http://", "https://", "ftp://"} ) |