[Nagiosplug-checkins] CVS: nagiosplug/plugins check_http.c,1.33,1.34

Karl DeBisschop kdebisschop at users.sourceforge.net
Wed Jun 11 03:42:07 CEST 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv14972

Modified Files:
	check_http.c 
Log Message:
fix URI_PATH to allow ?&#: (more still should be allowed)
fix class to be POSIX compliant


Index: check_http.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_http.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** check_http.c	9 May 2003 03:22:55 -0000	1.33
--- check_http.c	11 Jun 2003 10:41:46 -0000	1.34
***************
*** 185,191 ****
  #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._-=@,]"
  
  enum {
--- 185,191 ----
  #define HDR_LOCATION "%*[Ll]%*[Oo]%*[Cc]%*[Aa]%*[Tt]%*[Ii]%*[Oo]%*[Nn]: "
  #define URI_HTTP "%[HTPShtps]://"
! #define URI_HOST "%[-.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
! #define URI_PORT ":%[-0123456789]"
! #define URI_PATH "%[-_=@,?&#;/.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]"
  
  enum {





More information about the Commits mailing list