char0n/pybrowscap — pull request #3 by kinpoo (2011-10-26 16:11:36+00:00)
Title: escape all unsafe chars and fix browser name, version, etc

First, say sorry for the mistake in before pull requests. Now I clean it up and correct the test.

commit 1:
for example [Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)] include unsafe char "+"

commit 2:
many browsers' browser name, version, etc are empty, we need try get it from the parent

commit 3:
correct the test for Firefox/3.6