mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 01:14:10 -05:00
f2de5dc8c8
* Replace linkRegex with xurls library Rather than maintaining a complicated regex to match URLs for autolinking, gitea can use this existing go library that takes care of the matching with very little code change to gitea itself. After spending a while trying to find the perfect regex for all cases this library still works better as it is more flexible than a single regex ever will be. This will also fix the following issues: #5844 #3095 #3381 This passes all our current tests and I've added new ones mentioned in those issues as well. * Use xurls.StrictMatchingScheme instead of xurls.Strict This is much faster and we only care about https? links to preserve existing behavior. |
||
---|---|---|
.. | ||
andybalholm/cascadia | ||
beorn7/perks | ||
blevesearch | ||
boombuler/barcode | ||
bradfitz/gomemcache | ||
BurntSushi/toml | ||
chaseadamsio/goorgeous | ||
couchbase | ||
couchbaselabs/go-couchbase | ||
davecgh/go-spew | ||
denisenkom/go-mssqldb | ||
dgrijalva/jwt-go | ||
edsrzf/mmap-go | ||
elazarl/go-bindata-assetfs | ||
emirpasic/gods | ||
etcd-io/bbolt | ||
ethantkoenig/rupture | ||
facebookgo | ||
glycerine/go-unsnap-stream | ||
go-macaron | ||
go-sql-driver/mysql | ||
go-xorm | ||
gogits | ||
golang | ||
gorilla | ||
issue9/identicon | ||
jaytaylor/html2text | ||
jbenet/go-context | ||
kballard/go-shellquote | ||
kevinburke/ssh_config | ||
keybase/go-crypto | ||
klauspost | ||
lafriks/xormstore | ||
lib/pq | ||
lunny | ||
markbates/goth | ||
mattn/go-sqlite3 | ||
matttproud/golang_protobuf_extensions | ||
mcuadros/go-version | ||
microcosm-cc/bluemonday | ||
mitchellh/go-homedir | ||
mrjones/oauth | ||
mschoch/smat | ||
msteinert/pam | ||
mvdan/xurls | ||
nfnt/resize | ||
pelletier/go-buffruneio | ||
philhofer/fwd | ||
pkg/errors | ||
pmezard/go-difflib | ||
pquerna/otp | ||
prometheus | ||
PuerkitoBio/goquery | ||
RoaringBitmap/roaring | ||
russross/blackfriday | ||
satori/go.uuid | ||
sergi/go-diff | ||
shurcooL/sanitized_anchor_name | ||
siddontang/go-snappy | ||
src-d/gcfg | ||
steveyen/gtreap | ||
stretchr/testify | ||
syndtr/goleveldb | ||
tinylib/msgp | ||
tstranex/u2f | ||
Unknwon | ||
urfave/cli | ||
willf/bitset | ||
xanzy/ssh-agent | ||
yohcop/openid-go |