awslabs / aws-lambda-go-api-proxy

lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway.
Apache License 2.0
1.06k stars 198 forks source link

User-Agent string is getting split in fiber #150

Open acidjazz opened 1 year ago

acidjazz commented 1 year ago

When going from CloudFront -> Api Gateway -> Lambda my user agent looks like this:

like Gecko) Chrome/105.0.0.0 Safari/537.36,

While locally I get the full string:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
drakejin commented 1 year ago

I couldn't reproduce it. I replied to your PR. Check it out 👍 thanks.