36 lines
669 B
Plaintext
36 lines
669 B
Plaintext
include::../description.adoc[]
|
|
|
|
include::../ask-yourself.adoc[]
|
|
|
|
include::../recommended.adoc[]
|
|
|
|
== Sensitive Code Example
|
|
|
|
----
|
|
from django.http import HttpResponse
|
|
|
|
def index(request):
|
|
response = HttpResponse("Hello world.")
|
|
response.set_cookie('myCookie', 'myval') # Sensitive
|
|
response.set_signed_cookie('mySignedCookie', 'smyval') # Sensitive
|
|
|
|
return response
|
|
----
|
|
|
|
include::../see.adoc[]
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::../message.adoc[]
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::../comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|