BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: {bb} Bug report: bb-network.sh: http: exclamation mark in URL



Sorry for the little error:

The http* ) branch should have arg=$1 and not arg="$arg"

> -----Original Message-----
> From: Ralf.Strandell@silja.com [mailto:Ralf.Strandell@silja.com]
> Sent: 24. maaliskuuta 2005 12:47
> To: bb@bb4.com
> Subject: {bb} Bug report: bb-network.sh: http: exclamation mark in URL
> 
> 
> Hi,
> 
> bb-network.sh currently does not understand URLs that contain 
> exclamation
> marks. The fix is simple:
> 
> In bb-network.sh:
> Change:
>                 case $1
>                 in
>                         *!* )
>                                 arg=`echo $1 | $SED 's/!//g'`
>                                 TESTREVERSED=TRUE
>                                 ;;
>                         *)
>                                 arg=$1
>                                 TESTREVERSED=FALSE
>                                 ;;
>                 esac
> 
> To:
>                 case $1
>                 in
>                         http* )
>                                 # http arg can contain an !
>                                 arg="$arg"
>                                 TESTREVERSED=FALSE
>                                 ;;
>                         *!* )
>                                 arg=`echo $1 | $SED 's/!//g'`
>                                 TESTREVERSED=TRUE
>                                 ;;
>                         *)
>                                 arg=$1
>                                 TESTREVERSED=FALSE
>                                 ;;
>                 esac
> 
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> To unsubscribe from this list, or to subscribe to the bb-digest list
> send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
> subscribe bb-digest in the BODY of the message.
> 
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index