diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_http.c | 6 |
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 | ||
191 | enum { | 191 | enum { |
192 | MAX_IPV4_HOSTLENGTH = 255, | 192 | MAX_IPV4_HOSTLENGTH = 255, |