summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/functions/put2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/functions/put b/etc/functions/put
index 2e211bf..15d5341 100644
--- a/etc/functions/put
+++ b/etc/functions/put
@@ -87,6 +87,8 @@ while (( ${#hosts} )) {
" -o '${remote_file}'; chmod 644 '${remote_file}'"
remote_file=${remote_file// /%20}
remote_file=${remote_file//\#/%23}
+ remote_file=${remote_file//\[/%5B}
+ remote_file=${remote_file//\]/%5D}
url=${server_prefix}${remote_file}
if $(curl -fI ${server_prefix}${remote_file} &> /dev/null); then
echo ${server_prefix}${remote_file}