1
0
Fork 0
forgejo/modules
mrsdizzie 2ac2a5b0ba Refactor submodule URL parsing (#7100)
Use combination of url.Parse and regex to parse refURL rather than by
hand with indexes & attempt to check if refURL is from same instance and
adjust output to match.

Also now return empty string instead of our original
guess at URL if we are unable to parse it.

Fixes #1526
2019-06-03 23:11:19 +08:00
..
auth
avatar
base
cache
context
cron
generate
git Refactor submodule URL parsing (#7100) 2019-06-03 23:11:19 +08:00
gzip
highlight
httplib
indexer
lfs
log
mailer
markup
metrics
migrations
minwinsvc
notification
options
pprof
private
process
public
recaptcha
repofiles
search
secret
session
setting
ssh
structs
sync
templates
test
user
util
validation