fix python 2.7.3 urlparse failed fragment