Skip to content

Commit

Permalink
Potential fix for UnicodeDecodeError @ parsers/swf.py : 'utf8' codec …
Browse files Browse the repository at this point in the history
…can't decode byte #3098
  • Loading branch information
andresriancho committed Mar 15, 2015
1 parent 3a348bc commit 0f271ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion w3af/core/data/parsers/utils/re_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _extract_full_urls(self, doc_string):
continue

try:
url = URL(url_mo.group(0))
url = URL(url_mo.group(0), encoding=self._encoding)
except ValueError:
pass
else:
Expand Down

0 comments on commit 0f271ef

Please sign in to comment.