kayx23 opened a new issue, #9494:
URL: https://github.com/apache/apisix/issues/9494

   ### Description
   
   There should be a space before the appended originating client IP
   
![image](https://github.com/apache/apisix/assets/39619599/3b64b06b-1446-442a-8c5a-5befb15b1269)
   
   ### Steps to Reproduce
   
   ```
   curl "http://127.0.0.1:9180/apisix/admin/routes"; -H "X-API-KEY: xxx" -X PUT 
-d '
   {
     "id": "getting-started-anything",
     "uri": "/anything",
     "upstream" : {
       "type": "roundrobin",
       "nodes": {
         "httpbin.org": 1
       }
     }
   }'
   ```
   ```
   curl http://127.0.0.1:9180/apisix/admin/global_rules/1 -H "X-API-KEY: xxx" 
-X PUT  -d '{
      "plugins":{
         "real-ip":{
            "source": "http_x_forwarded_for"
         }
      }
   }'
   ```
   ```
   curl "http://127.0.0.1:9080/anything"; -H "x_forwarded_for: 1.2.3.48"
   ```
   
   ### Environment
   
   - APISIX version: 3.3
   


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