Fixes missing brackets and removes unneeded "Pre 1.2" from the user agent regex ("webOS" already covers that).
Merge pull request #811 from viljamis/master

Updates file upload user agent regexp + fixes missing brackets