mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACA-2470] base path encoding for entry point
This commit is contained in:
@@ -67,7 +67,9 @@ if [[ $ACSURL ]]; then
|
||||
fi
|
||||
|
||||
if [[ $BASEPATH ]]; then
|
||||
sed -i s%href=\"/\"%href=\""$BASEPATH"\"%g /tmp/index.html && \
|
||||
replace="\/"
|
||||
encoded=${BASEPATH//\//$replace}
|
||||
sed -i s%href=\"/\"%href=\""$encoded"\"%g /tmp/index.html && \
|
||||
cat /tmp/index.html > ./index.html
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user