2ac2a5b0ba
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 |
||
---|---|---|
.. | ||
auth | ||
avatar | ||
base | ||
cache | ||
context | ||
cron | ||
generate | ||
git | ||
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 |