mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-22 04:57:29 -06:00
[chore] Review comments
This commit is contained in:
parent
5155718bcb
commit
77a33f6fb0
4 changed files with 7 additions and 7 deletions
|
|
@ -375,7 +375,7 @@ func (f *Filter) errantLinks(
|
|||
}
|
||||
|
||||
// Find + parse every http/https link in the status.
|
||||
rawLinks := regexes.URL.FindAllString(concat, -1)
|
||||
rawLinks := regexes.URLLike.FindAllString(concat, -1)
|
||||
links := make([]preppedLink, 0, len(rawLinks))
|
||||
for _, rawLink := range rawLinks {
|
||||
linkURI, err := url.Parse(rawLink)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue