diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-19 00:09:52 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-19 00:09:52 +0000 |
commit | ddf34aa2e69d6c90b4fe95516168254a80eb32f3 (patch) | |
tree | 7e5273c1e222b2cb8d523f2bc4087fe15bc9bcb2 /sca-cpp/trunk/modules/http/httpd.hpp | |
parent | b796454ac3a94879f122cc19ddec5a7ff87fe5ee (diff) |
Improvements to the oauth module and support for oauth 1.0a using liboauth.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998571 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/http/httpd.hpp')
-rw-r--r-- | sca-cpp/trunk/modules/http/httpd.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd.hpp b/sca-cpp/trunk/modules/http/httpd.hpp index 870aed71b7..528404b8fc 100644 --- a/sca-cpp/trunk/modules/http/httpd.hpp +++ b/sca-cpp/trunk/modules/http/httpd.hpp @@ -245,6 +245,8 @@ const string unescape(const string& uri) { const list<value> queryArg(const string& s) { debug(s, "httpd::queryArg::string"); const list<string> t = tokenize("=", s); + if (isNil(cdr(t))) + return mklist<value>(c_str(car(t)), ""); return mklist<value>(c_str(car(t)), cadr(t)); } |