send_nrdp.py - Cannot connect to url if it does not end with a /
box293 opened this issue · 1 comments
box293 commented
Example:
./send_nrdp.py -u 'http://10.25.5.2/nrdp' -t XXXXX -H centos01 -S 0 -o "The host is up and OK"
Cannot connect to url.
junk after document element: line 1, column 40
However if the URL ends with a / then it works:
./send_nrdp.py -u 'http://10.25.5.2/nrdp/' -t XXXXX -H centos01 -S 0 -o "The host is up and OK"
There is no output when it works (as expected).
Script should be updated to test that the URL ends with a / and add it if it does not.