diff options
Diffstat (limited to 'cgi-bin/provisioning.cgi')
-rwxr-xr-x | cgi-bin/provisioning.cgi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cgi-bin/provisioning.cgi b/cgi-bin/provisioning.cgi index 67381bb..fcad3a1 100755 --- a/cgi-bin/provisioning.cgi +++ b/cgi-bin/provisioning.cgi @@ -113,7 +113,12 @@ if ( request_method == "GET" ) then http_code(302) log:close() os.exit() - end + -- If it's a Grandstream, 404 the cfgMAC without extension + elseif string.match(user_agent, "Grandstream") and (f=="") then + http_code(404) + log:close() + os.exit() + end log:write("Checking PROV Table for results\n") -- Load the ACF mvc |