From ad8d88fc7c55e84f61f4969504b1398bcabe637e Mon Sep 17 00:00:00 2001 From: Kris Moore Date: Tue, 5 Jan 2016 13:35:00 -0500 Subject: [PATCH] Fix a bug parsing the rest URI --- src/server/RestStructs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/RestStructs.h b/src/server/RestStructs.h index f029d58..f0a84f2 100644 --- a/src/server/RestStructs.h +++ b/src/server/RestStructs.h @@ -69,7 +69,7 @@ public: if(!URI.isEmpty()){ //TO-DO name = URI.section("/",-1); //last entry - namesp = URI.section("/",0,-2); //URI excluding name + namesp = URI.section("/",1,1); //URI excluding name } } ~RestInputStruct(){}