Menu

#1 bug correction function param {}

open
nobody
None
5
2006-08-11
2006-08-11
Anonymous
No

Hello,

./bashlib line 173

value=$(/usr/bin/env | /bin/grep "^FORM_${name}"
| /bin/sed -e 's/FORM_//' | /usr/bin/cut -d= -f2-)

/bin/grep "^FORM_${name}"
should be replaced by:
/bin/grep "^FORM_${name}="

Otherwise, considering two CGI parameters
("parameter1" and "parameter2"), upon requesting a
parameter named "par" (which dosen't exists) the param
function will answer with the values of "parameter1"
AND "parameter2".

Thanks,

Petru

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.