You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mh...@apache.org on 2017/10/06 18:42:06 UTC
[incubator-openwhisk-apigateway] branch master updated: Allow
periods in managed url paths
This is an automated email from the ASF dual-hosted git repository.
mhamann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-apigateway.git
The following commit(s) were added to refs/heads/master by this push:
new 055b262 Allow periods in managed url paths
055b262 is described below
commit 055b2625d4def20ee210706580d30fea4edea753
Author: Alex Song <so...@us.ibm.com>
AuthorDate: Fri Oct 6 11:49:32 2017 -0400
Allow periods in managed url paths
---
.travis.yml | 2 +-
conf.d/managed_endpoints.conf | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 337bdce..762e70f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,7 +17,7 @@ env:
before_install:
- ./tools/travis/setup.sh
- - pip install hererocks
+ - pip install hererocks --user
- hererocks lua_install -r^ --$LUA
- export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH
diff --git a/conf.d/managed_endpoints.conf b/conf.d/managed_endpoints.conf
index c7c5396..6806eec 100644
--- a/conf.d/managed_endpoints.conf
+++ b/conf.d/managed_endpoints.conf
@@ -60,7 +60,7 @@ server {
';
}
- location ~ "^/api/([a-zA-Z0-9\-]+)/([a-zA-Z0-9\-\/\-\_\{\} ]+)(\\b)" {
+ location ~ "^/api/([a-zA-Z0-9\-]+)/([a-zA-Z0-9\-\/\.\_\{\} ]+)(\\b)" {
set $upstream https://172.17.0.1;
set $tenant $1;
set $tenantNamespace '';
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].