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

Cross browser cookie problem? #27

Closed
modules opened this issue Jan 15, 2014 · 2 comments
Closed

Cross browser cookie problem? #27

modules opened this issue Jan 15, 2014 · 2 comments
Labels

Comments

@modules
Copy link

modules commented Jan 15, 2014

If i start from http://domain.tld/blog and want to login the form loads without an issue (through https://ssl.webpack.de/domain.tld/b...). After clicking sign-in i got a message that there is a problem with cookies.

I suppose this is about crossdomain cookie?

I am able to login if https/ssl is disabled. Also checked if i disabled cookie support: thats not the case.

My setup:

WordPress is installed in a subdirectory /blog and reachable via main http://domain.tld/blog

The hoster provides an ssl proxy and the blog is accessible via https://ssl.hoster.tld/domain.tld/blog

Plugin Setup:

SSL Host: ssl.hoster.tld/domain.tld/blog
Force SSL Admin: enabled
Proxy: Yes

Everything else is default.

Debug outtput:

[BEGIN WordPress HTTPS Debug Log] (index):140
Version: 3.3.6 (index):141
HTTP URL: http://domain.tld/blog/ (index):142
HTTPS URL: https://ssl.webpack.de/domain.tld/blog/ (index):143
SSL: No (index):144
Diff Host: Yes (index):145
Subdomain: Yes (index):146
Proxy: Yes (index):147
Secure External URLs: [  ] (index):148
Unsecure External URLs: [  ] (index):149
[END WordPress HTTPS Debug Log] (index):150
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

Any help about it?

See also: http://wordpress.org/support/topic/crossdomain-issue?replies=3

@headstash
Copy link
Collaborator

headstash commented Dec 29, 2017

The issue probably exists somewhere around here in the code: https://github.com/mvied/wordpress-https/blob/master/lib/WordPressHTTPS/Module/Core.php#L643

I've seen a couple of other users with issues related to these cookies in more complicated setups.

@headstash
Copy link
Collaborator

I've made this change in an attempt fix this issue and others. 90a86ce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants