Fix issue w.r.t URI comparison when querystring is used
authorSachin Agrawal <sachin.agrawal@intel.com>
Fri, 25 Sep 2015 05:27:49 +0000 (22:27 -0700)
committerSachin Agrawal <sachin.agrawal@intel.com>
Mon, 28 Sep 2015 18:12:39 +0000 (18:12 +0000)
commit8c2e764508cf12976cbb935851db7181ecde9de6
tree19759b0594ad6a745d0d44c4e1c0c3d4179340f7
parent36e7c86437e796f394579c27cf4cea8972c23cee
Fix issue w.r.t URI comparison when querystring is used

If a query string is attached to URI, URI comparison fails
and packets are dropped. Updated the code to only compare the
URI part excluding querystring.

Change-Id: Iee81e6fb7851d3a3ce5b8410fecd14645e134713
Signed-off-by: Sachin Agrawal <sachin.agrawal@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3081
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
(cherry picked from commit c5b381b150e93da6c906fc4c655c6bdb94beaf59)
Reviewed-on: https://gerrit.iotivity.org/gerrit/3221
resource/csdk/security/src/secureresourcemanager.c