summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Phan <vincentphan@us.ibm.com>2015-05-01 17:10:22 -0400
committerJohn Arthorne <John_Arthorne@ca.ibm.com>2015-05-02 11:29:31 -0400
commitc76345149e35c9f77997290454c7645f8b7f0af0 (patch)
tree842a0ad2b274646bdea1134c69595e3f728fafbf
parent0bfef9a809b793537b9dcb25d2dc575417ea5016 (diff)
downloadorg.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.js2
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