aboutsummaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authormrsdizzie <info@mrsdizzie.com>2019-06-03 11:11:20 -0400
committerLunny Xiao <xiaolunwen@gmail.com>2019-06-03 23:11:19 +0800
commit2ac2a5b0ba9f9a07867ed92792de7d54a8e10d23 (patch)
treea5990da4c1d6ab8096986998fc29f709a9bb585e /options
parent45f588e85dbd3004334718dc9fbbb27675814ee0 (diff)
downloadgitea-2ac2a5b0ba9f9a07867ed92792de7d54a8e10d23.tar.gz
gitea-2ac2a5b0ba9f9a07867ed92792de7d54a8e10d23.zip
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
Diffstat (limited to 'options')
0 files changed, 0 insertions, 0 deletions