Skip to content

Commit

Permalink
feat(4allportal): support encoded characters for webdav events (#254)
Browse files Browse the repository at this point in the history
* feat(4allportal): support encoded characters for webdav events

* chore(4allportal): update chart patch version

* chore(4allportal): update Chart version and docs

---------

Co-authored-by: Jean-Philippe Krämer <j.kraemer@4allportal.com>
  • Loading branch information
mstroecker and jpkraemer-mg authored May 17, 2024
1 parent 4feb0cf commit 982c3c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/4allportal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/4allportal/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 4 additions & 2 deletions charts/4allportal/templates/webdav/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}- )
Expand Down Expand Up @@ -209,4 +211,4 @@ data:
fi
done
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 982c3c3

Please sign in to comment.