Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

#1720 closed defect (fixed)

Cookie path isn't encoded when cookie is issued.

Reported by: kazisobe@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.8.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Cookie path isn't encoded when cookie is issued(The space character is included in path).

URL that a browser connects is converts space character converted into %20. so Cookie path isn't equal, a browser doesn't return cookie to server.

Attachments (0)

Change History (4)

comment:1 by Jonas Borgström, 19 years ago

Status: newassigned

comment:2 by Jonas Borgström, 19 years ago

What browser and trac-frontend (trac.cgi/tracd/mod_python) do you use?

So far I've been able to reproduce with tracd and firefox but not with tracd and safari. I'll investigate more later.

comment:3 by kazisobe@…, 19 years ago

My environments is:

  • Platform — Windows 2000 Server SP4
  • Web Server — Apache 2.0.54
  • trac-frontend — mod_python 3.1.3 (Python 2.3.4)
  • browser — IE 6.0, Firefox 1.0.4

comment:4 by Jonas Borgström, 19 years ago

Resolution: fixed
Status: assignedclosed

This is fixed on trunk and the 0.8-stable branch.

Note: This seems to work with mozilla and IE but safari doesn't seem to like escaped cookie values, probably a bug…

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.