Edgewall Software
Modify

Opened 11 years ago

Closed 10 years ago

#11171 closed enhancement (wontfix)

Reintroduce httponly_cookies configuration option.

Reported by: santeri.toikka@… Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

As previously discussed in ticket #10453 all cookies got a HttpOnly attribute set on. By that time, there weren't known plugins or macros, that would need trac_auth or trac_form_token cookies, so the option was hardcoded to be always True.

Here's one Macro, that requires cookie visibility:

https://projects.developer.nokia.com/TracKanbanBoard

Therefore I'm reintroducing the dropped configuration option in attached diff.

Attachments (1)

http_only.diff (2.9 KB ) - added by santeri.toikka@… 11 years ago.
http_only patch

Download all attachments as: .zip

Change History (3)

by santeri.toikka@…, 11 years ago

Attachment: http_only.diff added

http_only patch

comment:1 by Ryan J Ollos, 11 years ago

Milestone: 1.0.2

Milestone should be set by a Trac committer, if someone chooses to pick this one up. Unsetting the milestone for now.

comment:2 by Jun Omae, 10 years ago

Resolution: wontfix
Status: newclosed

The plugin should use req.authname == 'anonymous' and add_script_data(req, {'kanban_require_login': True}) in KanbanBoardMacro rather than accessing document.cookie in kanbanboard.js.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.