~moody/rc-gemd

8b3ea55d7a984e1241b211036a42ee62392616d5 — Jacob Moody 29 days ago a2e3a1a master
path name should be cleaned, prevents $fs_root escape
1 files changed, 1 insertions(+), 0 deletions(-)

M rc-gemd
M rc-gemd => rc-gemd +1 -0
@@ 16,6 16,7 @@ location=`{echo $url | sed 's,[a-zA-Z0-9.:]+/?,/,'}

query=`{echo $location | sed 's,[^?]*\??,,'}
location=`{echo $location | sed 's,\?.*,,'}
location=`{cleanname $location}

echo request from `{sed 's/!.*//' $net/remote} to $url >[1=2]