Page 1 of 1

check_http with invalid characters in URL

Posted: Fri Jun 01, 2012 6:12 pm
by ecarrasq
System Info
Linux Distribution and version?

*Linux version 2.6.18-274.3.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Tue Sep 6 20:14:03 EDT 2011
CentOS release 5.7 (Final)

32 or 64bit?

32 bit

VMware Image or Manual Install of XI?

VMware Image

Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?

No.

ISSUE

How can I use the "check_http" with a URL that contains special characters?

(the URL would look something like this, this is not the actual URL)

Re: check_http with invalid characters in URL

Posted: Mon Jun 04, 2012 8:56 am
by scottwilkerson
You should be able to wrap the URI in single quotes, something like

Code: Select all

./check_http -H test.testingwebsite.org -u '/mgen/imagesize.ms\?args\=\%22csi\:/184228/TSSY/184228\-TSSY\_20120320\_140155\_APR\.jpg\%22\,200\,266\&JP\=1\&NC\=1'

Re: check_http with invalid characters in URL

Posted: Mon Jun 04, 2012 9:43 am
by ecarrasq
That worked!

Earlier I must have missed one, "\" during my tests.

Thank you!
Eddie