diff options
author | Vincent Phan <vincentphan@us.ibm.com> | 2015-05-01 17:10:22 -0400 |
---|---|---|
committer | John Arthorne <John_Arthorne@ca.ibm.com> | 2015-05-02 11:29:31 -0400 |
commit | c76345149e35c9f77997290454c7645f8b7f0af0 (patch) | |
tree | 842a0ad2b274646bdea1134c69595e3f728fafbf | |
parent | 0bfef9a809b793537b9dcb25d2dc575417ea5016 (diff) | |
download | org.eclipse.orion.client-origin/stable_20150427.zip org.eclipse.orion.client-origin/stable_20150427.tar.gz org.eclipse.orion.client-origin/stable_20150427.tar.bz2 |
Gerrit file system to have proper path regEx.origin/stable_20150427
Signed-off-by: Vincent Phan <vincentphan@us.ibm.com>
-rw-r--r-- | bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/GerritFileImpl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/GerritFileImpl.js b/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/GerritFileImpl.js index 75363c8..6ab2c1e 100644 --- a/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/GerritFileImpl.js +++ b/bundles/org.eclipse.orion.client.ui/web/plugins/filePlugin/GerritFileImpl.js @@ -14,7 +14,7 @@ define(["orion/xhr", "orion/URITemplate", "orion/Deferred", "orion/URL-shim"], function(xhr, URITemplate, Deferred) { // regex pattern for the file browser requests - var pathRegex = /.*\/git\/(\w+[%2F|\/]\w+)\/(browse|contents|list)(\/([^\/]+)(\/(.*))?)?/; + var pathRegex = /.*\/git\/([^\/]+)\/(browse|contents|list)(\/([^\/]+)(\/(.*))?)?/; function GerritFileImpl(pluginURL, project) { // url templates for the Git router service requests |