mirror of
https://github.com/openappsec/attachment.git
synced 2026-01-17 16:00:26 +03:00
add missing enum value
This commit is contained in:
@@ -29,9 +29,10 @@ nano.HttpChunkType = {
|
||||
|
||||
nano.WebResponseType = {
|
||||
CUSTOM_WEB_RESPONSE = 0,
|
||||
RESPONSE_CODE_ONLY = 1,
|
||||
REDIRECT_WEB_RESPONSE = 2,
|
||||
NO_WEB_RESPONSE = 3,
|
||||
CUSTOM_WEB_BLOCK_PAGE_RESPONSE = 1,
|
||||
RESPONSE_CODE_ONLY = 2,
|
||||
REDIRECT_WEB_RESPONSE = 3,
|
||||
NO_WEB_RESPONSE = 4,
|
||||
}
|
||||
|
||||
local ffi = require "ffi"
|
||||
@@ -47,6 +48,7 @@ typedef enum HttpModificationType
|
||||
typedef enum NanoWebResponseType
|
||||
{
|
||||
CUSTOM_WEB_RESPONSE,
|
||||
CUSTOM_WEB_BLOCK_PAGE_RESPONSE,
|
||||
RESPONSE_CODE_ONLY,
|
||||
REDIRECT_WEB_RESPONSE,
|
||||
NO_WEB_RESPONSE
|
||||
|
||||
@@ -3,7 +3,7 @@ version = "1.0.0-1"
|
||||
|
||||
source = {
|
||||
url = "git://github.com/openappsec/attachment.git",
|
||||
tag = "main"
|
||||
tag = "wiaam-fix-enum"
|
||||
}
|
||||
|
||||
description = {
|
||||
|
||||
Reference in New Issue
Block a user