X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/ee27950632c149bb14c9c490e92147579ba4fc2a..0d303f1764645284b33924c9be8bf29f0a32ca5c:/methods/http.cc?ds=sidebyside diff --git a/methods/http.cc b/methods/http.cc index c00b439b7..a5de13511 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -770,6 +770,8 @@ bool HttpMethod::Configuration(string Message) if (ServerMethod::Configuration(Message) == false) return false; + DropPrivsOrDie(); + AllowRedirect = _config->FindB("Acquire::http::AllowRedirect",true); PipelineDepth = _config->FindI("Acquire::http::Pipeline-Depth", PipelineDepth);