mirror of https://github.com/k3s-io/k3s
15 lines
402 B
Go
15 lines
402 B
Go
![]() |
package xurls
|
||
|
|
||
|
// SchemesNoAuthority is a sorted list of some well-known url schemes that are
|
||
|
// followed by ":" instead of "://". Since these are more prone to false
|
||
|
// positives, we limit their matching.
|
||
|
var SchemesNoAuthority = []string{
|
||
|
`bitcoin`, // Bitcoin
|
||
|
`file`, // Files
|
||
|
`magnet`, // Torrent magnets
|
||
|
`mailto`, // Mail
|
||
|
`sms`, // SMS
|
||
|
`tel`, // Telephone
|
||
|
`xmpp`, // XMPP
|
||
|
}
|