mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[ACA-2470] base path encoding for entry point
This commit is contained in:
parent
6e894fc196
commit
9975261ed9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user