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

UnicodeEncodeError with get_cve() #39

Closed
mikkolehtisalo opened this issue Dec 15, 2014 · 4 comments
Closed

UnicodeEncodeError with get_cve() #39

mikkolehtisalo opened this issue Dec 15, 2014 · 4 comments

Comments

@mikkolehtisalo
Copy link

from vfeed import vFeed

vfeed = vFeed("CVE-2003-0497")
cve_info = vfeed.get_cve()

./vfeedcli.py update

python test.py
Traceback (most recent call last):
File "test.py", line 4, in
cve_info = vfeed.get_cve()
File "/home/mikko.lehtisalo/vFeed/vfeed/api.py", line 66, in get_cve
self.cveInfo['summary'] = str(self.data[3])
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 4: ordinal not in range(128)

@mikkolehtisalo
Copy link
Author

"CVE-2003-0497","2003-08-07T00:00:00.000-04:00","2012-05-11T21:22:33.477-04:00","Caché Database 5.x installs /cachesys/bin/cache with world-writable permissions, which allows local users to gain privileges by modifying cache and executing it via cuxs.","7.2","10.0","3.9","local","low","none","complete","complete","complete"

@toolswatch
Copy link
Owner

On Mon, Dec 15, 2014 at 9:07 PM, Mikko Lehtisalo notifications@github.com
wrote:

CVE-2003-0497

impressive .. you found out the ONLY CVE with unicode ..WOOW :) .. thanks ..

i will fix it ;)

@toolswatch
Copy link
Owner

On Mon, Dec 15, 2014 at 9:10 PM, Mikko Lehtisalo notifications@github.com
wrote:

Caché

because of that "Caché"

@toolswatch
Copy link
Owner

fixed

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

No branches or pull requests

2 participants