Form data handler: awk-scripts.cgi#!/usr/bin/awk -f
function unescape(s)
{
gsub(/+/," ",s)
res = ""
do {
p = match(s,/%[0-9a-fA-F]{2}/)
if(p>0) {
res = res substr(s,0,p-1) sprintf("%c",0+("0x" substr(s,p+1,2)))
s = substr(s,p+3)
}
} while(p>0)
return res s
}
BEGIN
{
RS = "&"
FS = "="
print "Content-type: text/html; charset=utf-8"
print ""
}
{
melsem:
Form data handler '
' is not executed.awk problem with busybox-v1.35.0-1.
Reverting awk itself to busybox-v1.33.1 and rebuilding.
And the awk scripting engine works.
The patch is needed in: /openwrt-master/package/utils/busybox/patches/521-revert_awk_busybox-1.33.1.patch
The text was updated successfully, but these errors were encountered: