summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 80545b2a..dddddf97 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -180,12 +180,12 @@ struct timeval tv;
180 180
181#define server_port_check(use_ssl) (use_ssl ? HTTPS_PORT : HTTP_PORT) 181#define server_port_check(use_ssl) (use_ssl ? HTTPS_PORT : HTTP_PORT)
182 182
183/* per RFC 2396 */
183#define HDR_LOCATION "%*[Ll]%*[Oo]%*[Cc]%*[Aa]%*[Tt]%*[Ii]%*[Oo]%*[Nn]: " 184#define HDR_LOCATION "%*[Ll]%*[Oo]%*[Cc]%*[Aa]%*[Tt]%*[Ii]%*[Oo]%*[Nn]: "
184#define URI_HTTP "%[HTPShtps]://" 185#define URI_HTTP "%[HTPShtps]://"
185#define URI_HOST "%[-.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]" 186#define URI_HOST "%[-.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
186#define URI_PORT ":%[-0123456789]" 187#define URI_PORT ":%[0123456789]"
187#define URI_PATH "%[-_=@,?&#;/.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]" 188#define URI_PATH "%[-_.!~*'();/?:@&=+$,%#abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
188
189enum { 189enum {
190 MAX_IPV4_HOSTLENGTH = 255, 190 MAX_IPV4_HOSTLENGTH = 255,
191 HTTP_PORT = 80, 191 HTTP_PORT = 80,