diff --git a/charts/4allportal/Chart.yaml b/charts/4allportal/Chart.yaml index 49ca4d66..1d5d4751 100644 --- a/charts/4allportal/Chart.yaml +++ b/charts/4allportal/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "3.10.38" description: A Helm chart for 4ALLPORTAL version 3.10.0 and up name: 4allportal -version: 20.0.11 +version: 20.0.12 icon: https://4allportal.com/wp-content/uploads/2022/07/cropped-4ap_logo.png keywords: - 4ALLPORTAL diff --git a/charts/4allportal/README.md b/charts/4allportal/README.md index 041d6769..4f44e481 100644 --- a/charts/4allportal/README.md +++ b/charts/4allportal/README.md @@ -1,6 +1,6 @@ # 4allportal -![Version: 20.0.11](https://img.shields.io/badge/Version-20.0.11-informational?style=flat-square) ![AppVersion: 3.10.38](https://img.shields.io/badge/AppVersion-3.10.38-informational?style=flat-square) +![Version: 20.0.12](https://img.shields.io/badge/Version-20.0.12-informational?style=flat-square) ![AppVersion: 3.10.38](https://img.shields.io/badge/AppVersion-3.10.38-informational?style=flat-square) A Helm chart for 4ALLPORTAL version 3.10.0 and up diff --git a/charts/4allportal/templates/webdav/configmap.yaml b/charts/4allportal/templates/webdav/configmap.yaml index c3a85869..82452dcc 100644 --- a/charts/4allportal/templates/webdav/configmap.yaml +++ b/charts/4allportal/templates/webdav/configmap.yaml @@ -155,10 +155,12 @@ data: out = gensub(/\"/, "\\\"", "g", out); print out}') + dest=$(echo -e $(echo "$dest" | sed 's/%/\\x/g')) + matched=$(expr match "${path}" "$MOUNT_POINT.*") if [ \( "${type}" == "PUT" -o "${type}" == "DELETE" -o "${type}" == "MKCOL" -o "${type}" == "MOVE" -o "${type}" == "COPY" \) -a ${matched} != 0 ] then - path=$(echo "$path" | cut -c ${MOUNT_POINT_LEN}- ) + path=$(echo -e "$path" | cut -c ${MOUNT_POINT_LEN}- ) if [ "${dest}" != "-" -a "${dest}" != "" ] then dest=$(echo "$dest" | cut -c ${MOUNT_POINT_LEN}- ) @@ -209,4 +211,4 @@ data: fi done {{- end }} - {{- end }} \ No newline at end of file + {{- end }}