dosubot[bot] commented on issue #8169:
URL: 
https://github.com/apache/incubator-devlake/issues/8169#issuecomment-2448168314

   <!-- Answer -->
   The issue you're experiencing with URL encoding in the `/check` endpoint 
might be related to how the Gin framework handles URL paths. In the code, the 
`UseRawPath` setting is enabled, which should allow special characters like 
`%2F` to be processed correctly 
<sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/backend/server/api/api.go)</sup>.
   
   However, since the problem occurs only in your dev environment and not on 
localhost, there might be differences in configuration or middleware that 
affect URL handling. Check if there are any discrepancies in the CORS or 
authentication middleware settings between the two environments 
<sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/backend/server/api/api.go)</sup><sup>[[2]](https://github.com/apache/incubator-devlake/blob/main/backend/server/api/router.go)</sup>.
   
   Additionally, ensure that the server in the dev environment is configured to 
handle encoded URLs properly. You might want to verify any reverse proxy 
settings or server configurations that could be affecting the request path.
   
   If these suggestions don't resolve the issue, consider debugging the request 
handling in the dev environment to see how the path is being interpreted.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to