Skip to content

Commit 3a7f4c5

Browse files
committed
test: remove last slash from RewriteBase
1 parent 12f3d78 commit 3a7f4c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/acceptance/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ then
808808
#get the sub path of the webserver and set the correct RewriteBase
809809
WEBSERVER_PATH=$(get_path_from_url ${TEST_SERVER_URL})
810810
HTACCESS_UPDATE_FAILURE_MSG="Could not update .htaccess in local server. Some tests might fail as a result."
811-
remote_occ ${ADMIN_AUTH} ${OCC_URL} "config:system:set htaccess.RewriteBase --value /${WEBSERVER_PATH}/"
811+
remote_occ ${ADMIN_AUTH} ${OCC_URL} "config:system:set htaccess.RewriteBase --value /${WEBSERVER_PATH}"
812812
remote_occ ${ADMIN_AUTH} ${OCC_URL} "maintenance:update:htaccess"
813813
[[ $? -eq 0 ]] || { echo "${HTACCESS_UPDATE_FAILURE_MSG}"; }
814814
# check if mod_rewrite module is enabled
@@ -817,7 +817,7 @@ then
817817
if [ -n "${TEST_SERVER_FED_URL}" ]
818818
then
819819
WEBSERVER_PATH=$(get_path_from_url ${TEST_SERVER_FED_URL})
820-
remote_occ ${ADMIN_AUTH} ${OCC_FED_URL} "config:system:set htaccess.RewriteBase --value /${WEBSERVER_PATH}/"
820+
remote_occ ${ADMIN_AUTH} ${OCC_FED_URL} "config:system:set htaccess.RewriteBase --value /${WEBSERVER_PATH}"
821821
remote_occ ${ADMIN_AUTH} ${OCC_FED_URL} "maintenance:update:htaccess"
822822
[[ $? -eq 0 ]] || { echo "${HTACCESS_UPDATE_FAILURE_MSG/local/federated}"; }
823823
# check if mod_rewrite module is enabled

0 commit comments

Comments
 (0)