Skip to content

Commit

Permalink
Fixes #10083: Cannot upload file on shared folder if certificate is s…
Browse files Browse the repository at this point in the history
…elf-signed
  • Loading branch information
ncharles committed Jan 27, 2017
1 parent 15b4a49 commit 8c6d5a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tree/30_generic_methods/sharedfile_from_node.cf
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ bundle agent sharedfile_from_node(source_uuid, file_id, file_path)
classes => classes_generic_two("${old_class_prefix}", "${class_prefix}");

methods:
"report" usebundle => _log("Retreiving ${file_id} from ${target_uuid} into ${file_path}", "${old_class_prefix}", "${class_prefix}", @{args});
"report" usebundle => _log("Retrieving ${file_id} from ${source_uuid} into ${file_path}", "${old_class_prefix}", "${class_prefix}", @{args});
}
2 changes: 1 addition & 1 deletion tree/30_generic_methods/sharedfile_to_node.cf
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ bundle agent sharedfile_to_node(target_uuid, file_id, file_path, ttl)

_stdlib_path_exists_curl.pass2::
"${paths.path[curl]}"
args => "${url}?hash=${hash} -L -X HEAD -o /dev/null -s -f",
args => "${url}?hash=${hash} -k -1 -L -X HEAD -o /dev/null -s -f",
contain => in_shell,
classes => classes_generic_return_single_code_two("${old_class_prefix}_exist", "${class_prefix}_exist", "0", "22", "999"), # 22 = http 400 or above
ifvarclass => "${canonified_path}_signed";
Expand Down

0 comments on commit 8c6d5a3

Please sign in to comment.