Mageia Bugzilla – Attachment 9865 Details for
Bug 22105
python-werkzeug new security issue CVE-2016-10516
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Possible Python script for this update
cve-2016-10516.py (text/plain), 900 bytes, created by
Lewis Smith
on 2017-12-29 16:19:13 CET
(
hide
)
Description:
Possible Python script for this update
Filename:
MIME Type:
Creator:
Lewis Smith
Created:
2017-12-29 16:19:13 CET
Size:
900 bytes
patch
obsolete
>def render_full(self, evalex=False, secret=None, > evalex_trusted=True): > """Render the Full HTML page with the traceback info.""" > exc = escape(self.exception) # the exception info use the escape method > return PAGE_HTML % { > 'evalex': evalex and 'true' or 'false', > 'evalex_trusted': evalex_trusted and 'true' or 'false', > 'console': 'false', > 'title': exc, > 'exception': exc, > 'exception_type': escape(self.exception_type), > 'summary': self.render_summary(include_title=False), > 'plaintext': self.plaintext, # the plaintext did not use the escape method > 'plaintext_cs': re.sub('-{2,}', '-', self.plaintext), > 'traceback_id': self.id, > 'secret': secret > }
def render_full(self, evalex=False, secret=None, evalex_trusted=True): """Render the Full HTML page with the traceback info.""" exc = escape(self.exception) # the exception info use the escape method return PAGE_HTML % { 'evalex': evalex and 'true' or 'false', 'evalex_trusted': evalex_trusted and 'true' or 'false', 'console': 'false', 'title': exc, 'exception': exc, 'exception_type': escape(self.exception_type), 'summary': self.render_summary(include_title=False), 'plaintext': self.plaintext, # the plaintext did not use the escape method 'plaintext_cs': re.sub('-{2,}', '-', self.plaintext), 'traceback_id': self.id, 'secret': secret }
View Attachment As Raw
Actions:
View
Attachments on
bug 22105
: 9865