You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by bi...@apache.org on 2014/04/29 09:35:24 UTC
git commit: [OLINGO-250]'jsonLightPayloadInfo' function does not
unescape entityset names extracted directly from a URL
Repository: olingo-odata3-js
Updated Branches:
refs/heads/master f00660744 -> d169d369e
[OLINGO-250]'jsonLightPayloadInfo' function does not unescape entityset names extracted directly from a URL
Project: http://git-wip-us.apache.org/repos/asf/olingo-odata3-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata3-js/commit/d169d369
Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata3-js/tree/d169d369
Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata3-js/diff/d169d369
Branch: refs/heads/master
Commit: d169d369e8c5f1a3b0702734a34b7272caab92c1
Parents: f006607
Author: Bing Li <bi...@apache.org>
Authored: Tue Apr 29 15:34:54 2014 +0800
Committer: Bing Li <bi...@apache.org>
Committed: Tue Apr 29 15:34:54 2014 +0800
----------------------------------------------------------------------
JSLib/src/odata-json-light.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/olingo-odata3-js/blob/d169d369/JSLib/src/odata-json-light.js
----------------------------------------------------------------------
diff --git a/JSLib/src/odata-json-light.js b/JSLib/src/odata-json-light.js
index a0ac752..084ecaf 100644
--- a/JSLib/src/odata-json-light.js
+++ b/JSLib/src/odata-json-light.js
@@ -1064,7 +1064,7 @@
}
}
- var fragment = metadataUri.substring(fragmentStart + 1, fragmentEnd);
+ var fragment = decodeURIComponent(metadataUri.substring(fragmentStart + 1, fragmentEnd));
if (fragment.indexOf("/$links/") > 0) {
return jsonLightMakePayloadInfo(PAYLOADTYPE_LINKS);
}