summaryrefslogtreecommitdiffstats
path: root/routers/web/repo/http.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-11-27 20:22:03 +0000
committerGitHub <noreply@github.com>2021-11-27 20:22:03 +0000
commit72d82c5b6fe7153c849738b591133c9bb52a96f7 (patch)
tree6c7b79847a432b9639f0d179ab706229e9a8c8a0 /routers/web/repo/http.go
parent04c55e97a29dc9a60eafeccfb20d9f408c83ee46 (diff)
downloadgitea-72d82c5b6fe7153c849738b591133c9bb52a96f7.tar.gz
gitea-72d82c5b6fe7153c849738b591133c9bb52a96f7.zip
Handle relative unix socket paths (#17836)
Make relative unix sockets absolute by making them absolute against the AppWorkPath Fix #17833 ## :warning: BREAKING :warning: Prior to this PR relative unix sockets would have been asserted to be relative to the current working directory that gitea, gitea serv, hook and manager etc were running in. Hooks and Serv would have failed to work properly under this situation so we expect that although this is a technically breaking change the previous situation was already broken. Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'routers/web/repo/http.go')
0 files changed, 0 insertions, 0 deletions