ilPittiz commented on issue #14090:
URL: https://github.com/apache/grails-core/issues/14090#issuecomment-2776040796

   Sorry for the late feedback. Here's a small sample app, created via Grails 
Application Forge and edited to remove all overabundant dependencies: 
https://github.com/ilPittiz/GrailsWebRequest-baseUrl
   
   To replicate the issue, run the app and execute
   ```shell
   curl -H 'X-Forwarded-Proto: https' http://localhost:8080
   ```
   It'll print as result
   ```shell
   http://localhost:null
   ```
   We identified this bug right after our IT team moved all microservices to 
Cloudfare CDN, that by default adds `X-Forwarded-Proto` header to all requests, 
while does *not* add `X-Forwarded-Port` header.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to