summaryrefslogtreecommitdiff
path: root/methods/https.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/https.cc')
-rw-r--r--methods/https.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/methods/https.cc b/methods/https.cc
index b2d05136c..e69323ea6 100644
--- a/methods/https.cc
+++ b/methods/https.cc
@@ -269,6 +269,10 @@ bool HttpsMethod::Fetch(FetchItem *Itm)
maybe_add_auth (Uri, _config->FindFile("Dir::Etc::netrc"));
+ // The "+" is encoded as a workaround for a amazon S3 bug
+ // see LP bugs #1003633 and #1086997. (taken from http method)
+ Uri.Path = QuoteString(Uri.Path, "+~ ");
+
FetchResult Res;
CURLUserPointer userp(this, &Res, Itm);
// callbacks