There is a problem in the way the profile.conf file is written by the
configuration web page. Special characters in the 'WPA Shared Key' field
(might be the case for other fields) are converted according to RFC 1738.
pm2036 from FrancoFON provided this solution:
to add:
------------
urldecode(){
echo -e "$(sed 'y/+/ /; s/%/\\x/g')"
}
------------
and replace :
------------
get_parameter () {
echo "$query" | tr '&' '\n' | grep "^$1=" | head -1 | sed "s/.*=//"
}
------------
by
------------
get_parameter () {
echo "$query" | tr '&' '\n' | grep "^$1=" | head -1 | sed "s/.*=//" |
urldecode
}
------------
see: http://forums.fon.com/viewtopic.php?p=42013#42013
Cheers!
Nobody/Anonymous ( nobody ) - 2007-08-27 17:41
5
Open
None
Nobody/Anonymous
ponte2 - script
None
Public