Mageia Bugzilla – Attachment 7288 Details for
Bug 17331
python-pygments new shell injection security issue (CVE-2015-8557)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Corrected test file
testscript.py (text/x-python), 203 bytes, created by
Len Lawrence
on 2015-12-17 16:57:21 CET
(
hide
)
Description:
Corrected test file
Filename:
MIME Type:
Creator:
Len Lawrence
Created:
2015-12-17 16:57:21 CET
Size:
203 bytes
patch
obsolete
>from pygments import highlight >from pygments.lexers import PythonLexer >from pygments.formatters import HtmlFormatter > >code = 'print "Hello World"' >print(highlight(code, PythonLexer(), HtmlFormatter())) >
from pygments import highlight from pygments.lexers import PythonLexer from pygments.formatters import HtmlFormatter code = 'print "Hello World"' print(highlight(code, PythonLexer(), HtmlFormatter()))
View Attachment As Raw
Actions:
View
Attachments on
bug 17331
:
7285
| 7288