You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by GitBox <gi...@apache.org> on 2017/12/26 16:08:29 UTC

[GitHub] gupadhyaya commented on a change in pull request #220: SC-49 Pact broker module for consumer-driven contract testing

gupadhyaya commented on a change in pull request #220: SC-49 Pact broker module for consumer-driven contract testing
URL: https://github.com/apache/incubator-servicecomb-service-center/pull/220#discussion_r158718353
 
 

 ##########
 File path: server/interceptor/access/access.go
 ##########
 @@ -37,11 +37,11 @@ func Intercept(w http.ResponseWriter, r *http.Request) error {
 
 	r.Body = http.MaxBytesReader(w, r.Body, core.ServerInfo.Config.MaxBodyBytes)
 
-	if !validate.IsRequestURI(r.RequestURI) {
-		err := fmt.Errorf("Invalid Request URI %s", r.RequestURI)
+	/*if !validate.IsRequestURI(r.RequestURI) {
 
 Review comment:
   When retrieving pacts (at the provider side) using pact jvm library, it fires a base url "/". I have provided GetHome API for serving this request, however currently service-center blocks this request. Any suggestions?

----------------------------------------------------------------
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