You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by gi...@git.apache.org on 2017/06/05 18:40:49 UTC

[GitHub] codymwalker opened a new issue #224: Dynamic routing policy should apply query parameters from dynamic backend url

codymwalker opened a new issue #224: Dynamic routing policy should apply query parameters from dynamic backend url
URL: https://github.com/apache/incubator-openwhisk-apigateway/issues/224
 
 
   The dynamic backend routing policy should combine query parameters from the dynamic backend url with the gateway route url. 
   
   The current way that CF handles route services is that is routes all traffic to a given hostname to the specified route service url -- without path or query parameters. This causes failures when using the dynamic backend policy with an `X-CF-Forwarded-URL`. CF sends the request with the query params attached to the `X-CF-Forwarded-URL`, but not in the request itself. Since we're currently not acknowledging the query params, the request to the backend does not match the URL that was passed in initially in the header. This causes a `400 Bad Request: Failed to validate Route Service Signature` error.
   
   We currently have code to attach the path from the dynamic backend url. We should implement similar code in that code path for query params.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services