{"action":"created","issue":{"url":"https://api.github.com/repos/andresriancho/w3af/issues/5745","labels_url":"https://api.github.com/repos/andresriancho/w3af/issues/5745/labels{/name}","comments_url":"https://api.github.com/repos/andresriancho/w3af/issues/5745/comments","events_url":"https://api.github.com/repos/andresriancho/w3af/issues/5745/events","html_url":"https://github.com/andresriancho/w3af/issues/5745","id":46429637,"number":5745,"title":"Encoding error on SWF url output: url = url + '#' + fragment","user":{"login":"1d3df9903ad","id":3416690,"avatar_url":"https://avatars.githubusercontent.com/u/3416690?v=3","gravatar_id":"","url":"https://api.github.com/users/1d3df9903ad","html_url":"https://github.com/1d3df9903ad","followers_url":"https://api.github.com/users/1d3df9903ad/followers","following_url":"https://api.github.com/users/1d3df9903ad/following{/other_user}","gists_url":"https://api.github.com/users/1d3df9903ad/gists{/gist_id}","starred_url":"https://api.github.com/users/1d3df9903ad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1d3df9903ad/subscriptions","organizations_url":"https://api.github.com/users/1d3df9903ad/orgs","repos_url":"https://api.github.com/users/1d3df9903ad/repos","events_url":"https://api.github.com/users/1d3df9903ad/events{/privacy}","received_events_url":"https://api.github.com/users/1d3df9903ad/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/andresriancho/w3af/labels/bug","name":"bug","color":"e10c02"},{"url":"https://api.github.com/repos/andresriancho/w3af/labels/core","name":"core","color":"0b02e1"},{"url":"https://api.github.com/repos/andresriancho/w3af/labels/priority:low","name":"priority:low","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/andresriancho/w3af/milestones/10","html_url":"https://github.com/andresriancho/w3af/milestones/1.6.50%20-%20Bug%20fixing%20after%201.6.0","labels_url":"https://api.github.com/repos/andresriancho/w3af/milestones/10/labels","id":614510,"number":10,"title":"1.6.50 - Bug fixing after 1.6.0","description":"Bug fixes after 1.6 release, this is a MUST-HAVE since people will start using 1.6 and report severity 1 bugs which need to be fixed and pushed to all users.","creator":{"login":"andresriancho","id":865200,"avatar_url":"https://avatars.githubusercontent.com/u/865200?v=3","gravatar_id":"","url":"https://api.github.com/users/andresriancho","html_url":"https://github.com/andresriancho","followers_url":"https://api.github.com/users/andresriancho/followers","following_url":"https://api.github.com/users/andresriancho/following{/other_user}","gists_url":"https://api.github.com/users/andresriancho/gists{/gist_id}","starred_url":"https://api.github.com/users/andresriancho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresriancho/subscriptions","organizations_url":"https://api.github.com/users/andresriancho/orgs","repos_url":"https://api.github.com/users/andresriancho/repos","events_url":"https://api.github.com/users/andresriancho/events{/privacy}","received_events_url":"https://api.github.com/users/andresriancho/received_events","type":"User","site_admin":false},"open_issues":60,"closed_issues":228,"state":"open","created_at":"2014-03-30T17:44:39Z","updated_at":"2015-03-04T12:13:28Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2014-10-21T18:47:34Z","updated_at":"2015-03-04T12:13:28Z","closed_at":"2015-03-04T12:13:28Z","body":"## Version Information\r\n```\r\n  Python version: 2.7.3 (default, Mar 13 2014, 11:03:55) [GCC 4.7.2]\r\n  GTK version: 2.24.10\r\n  PyGTK version: 2.24.0\r\n  w3af version:\r\n    w3af - Web Application Attack and Audit Framework\r\n    Version: 1.6.0.5\r\n    Distribution: Kali Linux\r\n    Author: Andres Riancho and the w3af team.\r\n```\r\n## Traceback\r\n```pytb\r\nA \"UnicodeDecodeError\" exception was found while running grep.strange_parameters on \"Method: GET | http://domain/files/images/google_gl.swf\". The exception was: \"'utf8' codec can't decode byte 0x96 in position 12: invalid start byte\" at urlparse.py:urlunsplit():245.The full traceback is:\r\n  File \"/usr/share/w3af/w3af/core/controllers/core_helpers/consumers/grep.py\", line 76, in run\r\n    plugin.grep_wrapper(request, response)\r\n  File \"/usr/share/w3af/w3af/core/controllers/plugins/grep_plugin.py\", line 51, in grep_wrapper\r\n    self.grep(fuzzable_request, response)\r\n  File \"/usr/share/w3af/w3af/plugins/grep/strange_parameters.py\", line 58, in grep\r\n    dp = parser_cache.dpc.get_document_parser_for(response)\r\n  File \"/usr/share/w3af/w3af/core/data/parsers/parser_cache.py\", line 90, in get_document_parser_for\r\n    res = DocumentParser.DocumentParser(http_response)\r\n  File \"/usr/share/w3af/w3af/core/data/parsers/document_parser.py\", line 56, in __init__\r\n    self._parser = parser(http_resp)\r\n  File \"/usr/share/w3af/w3af/core/data/parsers/swf.py\", line 41, in __init__\r\n    self._parse(http_response)\r\n  File \"/usr/share/w3af/w3af/core/data/parsers/swf.py\", line 105, in _parse\r\n    self._re_extract(swf_body)\r\n  File \"/usr/share/w3af/w3af/core/data/parsers/swf.py\", line 111, in _re_extract\r\n    re_extract = ReExtract(swf_body, self._base_url, self._encoding)\r\n  File \"/usr/share/w3af/w3af/core/data/parsers/utils/re_extract.py\", line 51, in __init__\r\n    self._parse(doc_string, relative)\r\n  File \"/usr/share/w3af/w3af/core/data/parsers/utils/re_extract.py\", line 57, in _parse\r\n    self._extract_full_urls(doc_string)\r\n  File \"/usr/share/w3af/w3af/core/data/parsers/utils/re_extract.py\", line 91, in _extract_full_urls\r\n    self._re_urls.add(url)\r\n  File \"/usr/share/w3af/w3af/core/data/parsers/url.py\", line 801, in __hash__\r\n    return hash(self.url_string)\r\n  File \"/usr/share/w3af/w3af/core/data/parsers/url.py\", line 277, in url_string\r\n    calc = urlparse.urlunparse(data)\r\n  File \"/usr/lib/python2.7/urlparse.py\", line 228, in urlunparse\r\n    return urlunsplit((scheme, netloc, url, query, fragment))\r\n  File \"/usr/lib/python2.7/urlparse.py\", line 245, in urlunsplit\r\n    url = url + '#' + fragment\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/andresriancho/w3af/issues/comments/77147482","html_url":"https://github.com/andresriancho/w3af/issues/5745#issuecomment-77147482","issue_url":"https://api.github.com/repos/andresriancho/w3af/issues/5745","id":77147482,"user":{"login":"andresriancho","id":865200,"avatar_url":"https://avatars.githubusercontent.com/u/865200?v=3","gravatar_id":"","url":"https://api.github.com/users/andresriancho","html_url":"https://github.com/andresriancho","followers_url":"https://api.github.com/users/andresriancho/followers","following_url":"https://api.github.com/users/andresriancho/following{/other_user}","gists_url":"https://api.github.com/users/andresriancho/gists{/gist_id}","starred_url":"https://api.github.com/users/andresriancho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresriancho/subscriptions","organizations_url":"https://api.github.com/users/andresriancho/orgs","repos_url":"https://api.github.com/users/andresriancho/repos","events_url":"https://api.github.com/users/andresriancho/events{/privacy}","received_events_url":"https://api.github.com/users/andresriancho/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T12:13:28Z","updated_at":"2015-03-04T12:13:28Z","body":"Dup parsers/swf.py : 'utf8' codec can't decode byte #3098"}}