Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'ascii' codec can't encode characters #7

Open
Zeecka opened this issue Jul 28, 2021 · 0 comments · May be fixed by #8
Open

'ascii' codec can't encode characters #7

Zeecka opened this issue Jul 28, 2021 · 0 comments · May be fixed by #8

Comments

@Zeecka
Copy link

Zeecka commented Jul 28, 2021

I've got an error why I try to run the extractor on a site-map that contain UTF-8 char such as htttp://domain/img/pré.jpg.

Traceback (most recent call last):
  File "/home/zeecka/.BurpSuite/bapps/f991b67d4ef94f3c8692c3edca06583e/site_map_extractor.py", line 387, in exportCodes
    self.urlDecode = self._helpers.urlDecode(str(self.url))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 56-58: ordinal not in range(128)

This result in 0 line extracted from the sitemap.

@Zeecka Zeecka linked a pull request Jul 28, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant