[Nagiosplug-devel] [ nagiosplug-Bugs-3552824 ] NRDP returns the string "Array ()" when you send it invalid

SourceForge.net noreply at sourceforge.net
Wed Aug 1 00:48:09 CEST 2012


Bugs item #3552824, was opened at 2012-07-31 15:48
Message generated for change (Tracker Item Submitted) made by calestyo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3552824&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Cálestyo (calestyo)
Assigned to: Nobody/Anonymous (nobody)
Summary: NRDP returns the string "Array ()" when you send it invalid 

Initial Comment:
Hi.

This is from the old / soon to be disabled again Nagios Plugins bug tracker that used to be at Nagios itself.
I've just copied this bug over. I'm not the original reporter and have no idea about the thoughts about this bug.

This used to be: 
--------------------------------------------------------------------------------
Shawn Sterling:
--------------------------------------------------------------------------------
When I send NRDP bad XML I get the following string returned:
Array
(
)
<?xml version="1.0" encoding="utf-8"?>
<result>
  <status>-1</status>
  <message>BAD XML</message>
</result>

Expected results:
<?xml version="1.0" encoding="utf-8"?>
<result>
  <status>-1</status>
  <message>BAD XML</message>
</result>

It would be best if I didn't send NRDP bad XML in the first place, but that's beside the point. :)

PS: NRDP is awesome thanks for making it. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3552824&group_id=29880




More information about the Devel mailing list