You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: httpcookies/httpcookies.go
+6-3
Original file line number
Diff line number
Diff line change
@@ -7,31 +7,34 @@ import (
7
7
)
8
8
9
9
// SetJavascriptAccessibleCookie should NOT UNDER ANY CIRCUMSTANCES be used for sensitive credentials! It sets an HTTP cookie that *is* accessible through the client Javascript. This should only be done for insecure variables that are useful to the client
// SetHTTPOnlyCookie sets a cookie that is only visible to the browser, as opposed to the client JS itself. This makes these cookies safe for access tokens and other credentials
0 commit comments