summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-06-11 10:41:46 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-06-11 10:41:46 +0000
commit893f833ab7c90b1d10fcaa5c14e65b69d37c72e9 (patch)
treea0457d590d7e8878f673d3d7f7e0a8ad7d444c72 /plugins/check_http.c
parent04afbf45d788f01bae320989e1c2a1fc9e06b7f3 (diff)
downloadmonitoring-plugins-893f833ab7c90b1d10fcaa5c14e65b69d37c72e9.tar.gz
fix URI_PATH to allow ?&#: (more still should be allowed)
fix class to be POSIX compliant git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@546 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_http.c')
-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 91cc48cd..35ca7484 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -184,9 +184,9 @@ struct timeval tv;
184 184
185#define HDR_LOCATION "%*[Ll]%*[Oo]%*[Cc]%*[Aa]%*[Tt]%*[Ii]%*[Oo]%*[Nn]: " 185#define HDR_LOCATION "%*[Ll]%*[Oo]%*[Cc]%*[Aa]%*[Tt]%*[Ii]%*[Oo]%*[Nn]: "
186#define URI_HTTP "%[HTPShtps]://" 186#define URI_HTTP "%[HTPShtps]://"
187#define URI_HOST "%[a-zA-Z0-9.-]" 187#define URI_HOST "%[-.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
188#define URI_PORT ":%[0-9]" 188#define URI_PORT ":%[-0123456789]"
189#define URI_PATH "%[/a-zA-Z0-9._-=@,]" 189#define URI_PATH "%[-_=@,?&#;/.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
190 190
191enum { 191enum {
192 MAX_IPV4_HOSTLENGTH = 255, 192 MAX_IPV4_HOSTLENGTH = 255,