mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
SmartCookie and SerialCookie were recently deprecated
This commit is contained in:
parent
99448e5214
commit
ee711092eb
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@ This class derives from \class{BaseCookie} and overrides
|
|||
cookie data is a huge security hole, as pickle strings can be crafted
|
||||
to cause arbitrary code to execute on your server. It is supported
|
||||
for backwards compatibility only, and may eventually go away.
|
||||
\deprecated{2.3}
|
||||
\end{classdesc}
|
||||
|
||||
\begin{classdesc}{SmartCookie}{\optional{input}}
|
||||
|
@ -57,6 +58,7 @@ string, in which case it returns the value itself.
|
|||
|
||||
\strong{Note:} The same security warning from \class{SerialCookie}
|
||||
applies here.
|
||||
\deprecated{2.3}
|
||||
\end{classdesc}
|
||||
|
||||
A further security note is warranted. For backwards compatibility,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue