Browse Source

Modify IA S3 URL to use https due to cleartext secret in Authorization: header

master
Falcon Darkstar Momot 8 years ago
parent
commit
aef1991483
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      upload-one

+ 1
- 1
upload-one View File

@@ -83,7 +83,7 @@ do
--header "x-archive-size-hint:$size_hint" \
--header "authorization: LOW ${IA_AUTH}" \
--upload-file "${UPLOADER_WORKING_DIR}/${ITEM}/${filename}" \
"http://s3.us.archive.org/${IA_ITEM_PREFIX}${ITEM}/${filename}" \
"https://s3.us.archive.org/${IA_ITEM_PREFIX}${ITEM}/${filename}" \
> /dev/null
result=$?
if [[ $result -ne 0 ]]


Loading…
Cancel
Save