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:31:30 UTC

[2/2] git commit: [OLINGO-250]'jsonLightPayloadInfo' function does not unescape entityset names extracted directly from a URL

[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/f0066074
Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata3-js/tree/f0066074
Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata3-js/diff/f0066074

Branch: refs/heads/master
Commit: f006607443d1b356c7a955cfdbfb1e41508269c1
Parents: e5b716e
Author: Bing Li <bi...@apache.org>
Authored: Tue Apr 29 15:30:56 2014 +0800
Committer: Bing Li <bi...@apache.org>
Committed: Tue Apr 29 15:30:56 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/f0066074/JSLib/src/odata-json-light.js
----------------------------------------------------------------------
diff --git a/JSLib/src/odata-json-light.js b/JSLib/src/odata-json-light.js
index 084ecaf..a0ac752 100644
--- a/JSLib/src/odata-json-light.js
+++ b/JSLib/src/odata-json-light.js
@@ -1064,7 +1064,7 @@
             }
         }
 
-        var fragment = decodeURIComponent(metadataUri.substring(fragmentStart + 1, fragmentEnd));
+        var fragment = metadataUri.substring(fragmentStart + 1, fragmentEnd);
         if (fragment.indexOf("/$links/") > 0) {
             return jsonLightMakePayloadInfo(PAYLOADTYPE_LINKS);
         }