crash.software
Projects
Pull Requests
Issues
Builds
bearer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
bearer
Files
🤬
Sign In
ed55e31e
ROOT
/
pkg
/
util
/
url
/
url.go
Search
History
484 lines
|
ISO-8859-1
|
12 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
prefixPattern
suffixPattern
regexpReplaceMatcher
regexpVariableMatcher
regexpDependencyFileMatcher
regexpInvalidFilenameMatcher
regexpValidPathMatcher
regexpInvalidExtensionsInPathMatcher
excludedDomains
blocklistTLDs
subdomainNotAllowed
invalidLanguageTypes
allowedFilenameExtensions
restrictedDetectorTypes
invalidFilenameExtensions
Match
(url string, matcher *regexp.Regexp)
:
(string, error)
PrepareRegexpMatcher
(myURL string)
:
(*regexp.Regexp, error)
PrepareURLValue
(myURL string)
:
(string, error)
ValidateFormat
(myURL string, data *detections.Detection)
:
(*classify.ValidationResult, error)
ValidateInternal
(myURL string)
:
(*classify.ValidationResult, error)
Validate
(myURL string, domainResolver *DomainResolver)
:
(*classify.ValidationResult, error)
domainPattern
(parsedDomain *publicsuffix.DomainName)
:
string
pathPattern
(parsedURL *url.URL)
:
string
wildcardPattern
(myString string, separator string)
:
string
domainIsExcluded
(host string)
:
bool
isBlocklisted
(tld string)
:
bool
subdomainIsNotAllowed
(trd string)
:
bool
invalidLanguageType
(filenameExtension string, data *detections.Detection)
:
bool
invalidLanguage
(filenameExtension string)
:
bool
pathError
(path string)
:
bool
pathContainsAPIorAuth
(path string)
:
bool
All occurrences
Please wait...
Page is in error, reload to recover