diff options
author | bptato <nincsnevem662@gmail.com> | 2024-01-03 14:49:00 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-01-03 14:49:55 +0100 |
commit | 2c3e1f0e7ba94cffc30ffb90b159234979824672 (patch) | |
tree | ce39e8c0aeaf553325895f15a731435e40cb0ead /adapter | |
parent | b512b00d161317422127d633b1ab8ad4412ebfc9 (diff) | |
download | chawan-2c3e1f0e7ba94cffc30ffb90b159234979824672.tar.gz |
cha-finger: skip leading slash in path
Diffstat (limited to 'adapter')
-rwxr-xr-x | adapter/protocol/cha-finger | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/protocol/cha-finger b/adapter/protocol/cha-finger index 57ed9388..42472e21 100755 --- a/adapter/protocol/cha-finger +++ b/adapter/protocol/cha-finger @@ -29,7 +29,7 @@ if test -n "$MAPPED_URI_USERNAME" then USER="$MAPPED_URI_USERNAME" else case "$MAPPED_URI_PATH" in /w*) USER="/w ${MAPPED_URI_PATH#/w}" ;; - *) USER="$MAPPED_URI_PATH" ;; + *) USER="${MAPPED_URI_PATH#/}" ;; esac fi URL="telnet://$MAPPED_URI_HOST:$PORT" |