summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_http.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index c0c2b41..80545b2 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -182,9 +182,9 @@ struct timeval tv;
182 182
183#define HDR_LOCATION "%*[Ll]%*[Oo]%*[Cc]%*[Aa]%*[Tt]%*[Ii]%*[Oo]%*[Nn]: " 183#define HDR_LOCATION "%*[Ll]%*[Oo]%*[Cc]%*[Aa]%*[Tt]%*[Ii]%*[Oo]%*[Nn]: "
184#define URI_HTTP "%[HTPShtps]://" 184#define URI_HTTP "%[HTPShtps]://"
185#define URI_HOST "%[a-zA-Z0-9.-]" 185#define URI_HOST "%[-.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
186#define URI_PORT ":%[0-9]" 186#define URI_PORT ":%[-0123456789]"
187#define URI_PATH "%[/a-zA-Z0-9._-=@,]" 187#define URI_PATH "%[-_=@,?&#;/.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
188 188
189enum { 189enum {
190 MAX_IPV4_HOSTLENGTH = 255, 190 MAX_IPV4_HOSTLENGTH = 255,