summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 04afbf4)
raw | patch | inline | side by side (parent: 04afbf4)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Wed, 11 Jun 2003 10:41:46 +0000 (10:41 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Wed, 11 Jun 2003 10:41:46 +0000 (10:41 +0000) |
fix class to be POSIX compliant
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@546 f882894a-f735-0410-b71e-b25c423dba1c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@546 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_http.c | patch | blob | history |
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 91cc48cda6470a390f8995ffdefdc25b4c9304fb..35ca748465f697ff8454aa32888484238df455eb 100644 (file)
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
#define HDR_LOCATION "%*[Ll]%*[Oo]%*[Cc]%*[Aa]%*[Tt]%*[Ii]%*[Oo]%*[Nn]: "
#define URI_HTTP "%[HTPShtps]://"
-#define URI_HOST "%[a-zA-Z0-9.-]"
-#define URI_PORT ":%[0-9]"
-#define URI_PATH "%[/a-zA-Z0-9._-=@,]"
+#define URI_HOST "%[-.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
+#define URI_PORT ":%[-0123456789]"
+#define URI_PATH "%[-_=@,?&#;/.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
enum {
MAX_IPV4_HOSTLENGTH = 255,