yegor256 / rexsl

Java RESTful XSL-based Web Framework
Other
15 stars 8 forks source link

CookieBuilder.java:71-73: Somehow we should specify PORT... #778

Closed davvd closed 10 years ago

davvd commented 10 years ago

Puzzle 381-01309e82 in rexsl-page/src/main/java/com/rexsl/page/CookieBuilder.java:71-73 has to be resolved: Somehow we should specify PORT in the cookie. Without this param the site doesn't work in localhost:9099 in Chrome. Works fine in Safari, but not in Chrome. see http://stackoverflow.com/questions/1612177

davvd commented 10 years ago

@krzyk This task is yours, please go ahead keeping in mind this. If any questions, don't hesitate to ask right here

davvd commented 10 years ago

@krzyk The budget of this issue is 30 mins, which is exactly how much will be paid when the task is done (see this for explanation)

krzyk commented 10 years ago

How to create this problem?

yegor256 commented 10 years ago

Maybe it's a bug in Chrome. If it is, we should just document it properly in Javadoc and close the issue.

krzyk commented 10 years ago

Yes, but how to recreate this? Is it enough to run e.g. rultor with -Drexsl.port=9099 and open the main page, I assume not because it's related to cookies.

yegor256 commented 10 years ago

Yes, if you do it like this, cookies won't work in Chrome. Chrome won't understand a cookie when its port is set to 9099. It will ignore the cookie.

krzyk commented 10 years ago

@davvd The description has been merged into master, please close this issue.

davvd commented 10 years ago

Closed, thanks all

davvd commented 10 years ago

@krzyk 30 mins was added to your account, many thanks for your contribution!