1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/question2answer_ynh.git synced 2024-09-03 20:16:07 +02:00

ynh_normalize_url_path is for 'super-old versions'

This commit is contained in:
Nils VAN ZUIJLEN 2021-02-25 17:42:25 +01:00
parent c295735b2d
commit d1691648c1

View file

@ -14,7 +14,7 @@
ynh_local_curl_csrf () {
# Define url of page to curl
local local_page=$(ynh_normalize_url_path $1)
local local_page=$1
local full_path=$path_url$local_page
if [ "${path_url}" == "/" ]; then