Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP-Header Set-Cookie sent twice on automatic login #13393

Closed
matzesa opened this issue Sep 6, 2018 · 2 comments
Closed

HTTP-Header Set-Cookie sent twice on automatic login #13393

matzesa opened this issue Sep 6, 2018 · 2 comments
Assignees
Labels
wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@matzesa
Copy link

matzesa commented Sep 6, 2018

When I use the automatic login for Piwik I get the 'Set-Cookie'-Header twice with different 'PIWIK_SESSID'.

Example Request:

curl -i -X POST 'https://stats.example.org/index.php?module=Login&action=logme&login=your_login&password=your_MD5_password'

Response-Headers:

HTTP/1.1 302 Found
Date: Thu, 06 Sep 2018 08:28:52 GMT
Server: Apache/2.4.18 (Ubuntu)
Set-Cookie: PIWIK_SESSID=k3h1ibnabkjlsorvd81oc5ud74; path=/; secure; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: PIWIK_SESSID=uf95464tpqceujjce1ppt6itf2; path=/; secure; HttpOnly
X-Robots-Tag: noindex
Location: index.php?idSite=0
Content-Length: 0
Content-Type: text/html; charset=UTF-8

Matomo-Version: 3.6.0
MySQL-Version: 5.7.23-0ubuntu0.16.04.1
PHP-Version: 7.0.30-0ubuntu0.16.04.1

@tsteur tsteur added this to the 3.6.1 milestone Sep 6, 2018
@tsteur
Copy link
Member

tsteur commented Sep 6, 2018

Moving it to 3.6.1 to try and reproduce it

@diosmosis diosmosis self-assigned this Sep 6, 2018
@tsteur tsteur added the wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. label Sep 17, 2018
@tsteur
Copy link
Member

tsteur commented Sep 17, 2018

see discussion in #13397

@tsteur tsteur closed this as completed Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

3 participants