can not add domain attribute in cookie
Bug #478890 reported by
Bin Li
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
play framework | Status tracked in 1.0 | |||||
1.0 |
Fix Released
|
Undecided
|
Unassigned | |||
1.1 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
In HttpHandler.java
(cookie.name, cookie.value);
The domain attribute of cookie is missing.
Changed in play: | |
status: | New → Fix Committed |
Changed in play: | |
status: | Incomplete → Fix Committed |
Changed in play: | |
status: | Fix Committed → Incomplete |
To post a comment you must log in.
I have viewed the 1.1 source code revision 667 and it seems that the
bug 478890 is not fixed completely
In HttpHandler, the following source code has setDomain to low layer
server based on Play Framework cookie.domain
if (cookie.domain != null) {
}
However, application developers cannot use the the cross domain
because the following source in Http.java doesn't support setting domain
for Play Framework cookie
The Play Framework needs to fix flash and session objects also because these objects based on Play Framework Cookie
Thanks,
CungHi