Fixes are seen here in the DF CVS. (look for Safari)
Open /includes/classes/security.php
Find
- Code: Select all
# Safari family: Safari, OmniWeb, Shiira, DEVONtech
'#^Mozilla/5\.0 \(Macintosh; U; (PPC|Intel) Mac OS X; [a-zA-Z\-]{2,5}\) AppleWebKit/.*? \(KHTML, like Gecko.*?\) ([a-zA-Z]+)/.*#e',
Replace with:
- Code: Select all
# Safari family: Safari, OmniWeb, Shiira, DEVONtech
'#^Mozilla/5\.0 \((Macintosh|Windows); U; (PPC|Intel|Windows) (Mac|NT) (OS X|[0-9\.]{3}); [a-zA-Z\-]{2,5}\) AppleWebKit/.*? \(KHTML, like Gecko.*?\)(?:.*?[^Safari]+)? ([a-zA-Z]+)/.*#e',
Find
- Code: Select all
# Safari family
'Security::_set_data(\'\\2\', \'Mac\', \'Safari\', \'\', $data)',
Replace with:
- Code: Select all
# Safari family
'Security::_set_data(\'\\5\', \'\\3 \\4\', \'Safari\', \'\', $data)',