views:

31

answers:

0

I'm working on a custom proxy which does a number of things including appending extra information in the HTTP Headers. I'm running into an issue where we append some extra information in the User-Agent String with a comma.

e.g.

Mozilla/5.0 (SymbianOS/9.3; Series60/3.2 NokiaN86-1/11.043;; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 BrowserNG/7.1.13380, RandomExtaEntity

Most sites this is ok but is causing mobile facebook (m.facebook.com) to fail to logon - I had a look at the RFC but couldnt really ascertain if it forbids the comma. Any ideas?

related questions