You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the size of agent column in sessions table is larger than 255, which will trigger user agent mismatch when using SQL session and browse with Facebook mobile app's browser or Facebook Messenger's browser on iPhone. I change the column type to VARCHAR(300) myself but I think this should be reflected to \DB\SQL\Session::__construct().
The correct user agent of Facebook mobile app's browser (262 characters):
Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13E238 [FBAN/FBIOS;FBAV/55.0.0.40.137;FBBV/29582208;FBRV/0;FBDV/iPhone8,4;FBMD/iPhone;FBSN/iPhone OS;FBSV/9.3.1;FBSS/2;FBCR/CSL;FBID/phone;FBLC/zh_HK;FBOP/5]
The text was updated successfully, but these errors were encountered:
ikkez
added a commit
to f3-factory/fatfree-core
that referenced
this issue
Jun 27, 2016
I found that the size of agent column in sessions table is larger than 255, which will trigger user agent mismatch when using SQL session and browse with Facebook mobile app's browser or Facebook Messenger's browser on iPhone. I change the column type to VARCHAR(300) myself but I think this should be reflected to \DB\SQL\Session::__construct().
The correct user agent of Facebook mobile app's browser (262 characters):
Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13E238 [FBAN/FBIOS;FBAV/55.0.0.40.137;FBBV/29582208;FBRV/0;FBDV/iPhone8,4;FBMD/iPhone;FBSN/iPhone OS;FBSV/9.3.1;FBSS/2;FBCR/CSL;FBID/phone;FBLC/zh_HK;FBOP/5]
The text was updated successfully, but these errors were encountered: