slitaz-base-files rev 122
httphelper: fix for apache
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 12 16:47:54 2012 +0200 (2012-04-12) |
parents | 31f8714202b6 |
children | 271ad2fa9e22 |
files | rootfs/usr/lib/slitaz/httphelper |
line diff
1.1 --- a/rootfs/usr/lib/slitaz/httphelper Thu Apr 12 16:48:35 2012 +0200 1.2 +++ b/rootfs/usr/lib/slitaz/httphelper Thu Apr 12 16:47:54 2012 +0200 1.3 @@ -10,8 +10,8 @@ 1.4 # Copyright (C) SliTaz 2012 - GNU gpl v2 1.5 # 1.6 1.7 -alias urlencode='httpd -e' 1.8 -alias urldecode='httpd -d' 1.9 +alias urlencode='busybox httpd -e' 1.10 +alias urldecode='busybox httpd -d' 1.11 1.12 # Help and usage. 1.13 httphelper() { 1.14 @@ -135,7 +135,7 @@ 1.15 names="$names $var" ;; 1.16 esac 1.17 eval ${1}_${var}_count=$((++cnt)) 1.18 - eval ${1}_${var}_$cnt=\'$(httpd -d "${i#*=}" | sed "s/'/\'\\\\\'\'/g")\' 1.19 + eval ${1}_${var}_$cnt=\'$(busybox httpd -d "${i#*=}" | sed "s/'/\'\\\\\'\'/g")\' 1.20 done 1.21 unset IFS 1.22 eval ${1}__NAMES=\'${names# }\'