Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function Proxies forwarding to the same function app will fail if the request is to an http trigger function with routes and the route has '/' in it. #2161

Closed
safihamid opened this issue Nov 27, 2017 · 1 comment
Assignees

Comments

@safihamid
Copy link
Contributor

Sample proxy:
"catchAllRoutes": {
"matchCondition": {
"route": "/proxy/{*path}"
},
"backendUri": "http://localhost/{path}",
"requestOverrides": {
"backend.request.headers.accept": "text/plain"
}
},

sample http trigger function:

{
"bindings": [
{
"authLevel": "anonymous",
"name": "req",
"type": "httpTrigger",
"direction": "in",
"route": "myroute/mysubroute"
},
{
"name": "$return",
"type": "http",
"direction": "out"
}
],
"disabled": false
}

@safihamid
Copy link
Contributor Author

The fix is released.

@ghost ghost locked as resolved and limited conversation to collaborators Jan 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants