diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-11-18 12:38:21 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2018-01-03 19:42:45 +0100 |
commit | 4df5483994d510290677abab5720445f71babe65 (patch) | |
tree | a649a9bfbbc07a6446b5a1baca50033fc7093f5b /methods/connect.h | |
parent | a839efb126af066dc2e58400fb5e25911cb2a9f1 (diff) |
non-local mirrorlists shouldn't redirect to local
A mirror list we get from an non-local source like http shouldn't be
able to include e.g. file sources and even with other online sources we
need to be careful: They also shouldn't include prefixed methods like
'tor+http'. So apply magic based on how the method is called:
mirror+file will be allowed to redirect to any source while
tor+mirror+file allows all, but sends them to their tor+ variant.
Diffstat (limited to 'methods/connect.h')
0 files changed, 0 insertions, 0 deletions