소스 검색

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

master
Falcon Darkstar Momot 8 년 전
부모
커밋
aef1991483
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      upload-one

+ 1
- 1
upload-one 파일 보기

@@ -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 ]]


불러오는 중...
취소
저장