Modified query parsing to handle all filters.
authorMandeep Shetty <mandeep.shetty@intel.com>
Wed, 29 Apr 2015 18:58:03 +0000 (11:58 -0700)
committerErich Keane <erich.keane@intel.com>
Fri, 1 May 2015 16:43:13 +0000 (16:43 +0000)
commit57420c690a9bab1cae77426883e1236be97268f5
treec2d0ec1311e3884aa005115ebcda908f3cac38ae
parent6b892d14a44e68f693baa80b2e5eb85e3768cc14
Modified query parsing to handle all filters.

Earlier the parsing only passed if "rt" and "if" were in the query
which did not work for other filters for non virtual resources.
Function now simply splits the uri on the delimiter '?'.

Change-Id: Iaafd2c5c55140f7c0b9207cf069f1a8e11979b25
Signed-off-by: Mandeep Shetty <mandeep.shetty@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/869
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
Reviewed-by: Sakthivel Samidurai <sakthivel.samidurai@intel.com>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/stack/src/ocstack.c