[wp-trac] [WordPress Trac] #39846: Protocol agnostic links like //foo.com produce login loop reporting cookies disabled

WordPress Trac noreply at wordpress.org
Sat Feb 11 16:29:08 UTC 2017


#39846: Protocol agnostic links like //foo.com produce login loop reporting cookies
disabled
----------------------------+-----------------------------
 Reporter:  dfavor          |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  4.7.2
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 If siteurl + home are changed to protocol agnostic links, site login
 loops... producing the dreaded...

 "ERROR: Cookies are blocked or not supported by your browser..." message.

 Easy way to reproduce this is to use wp-cli on command line...

 wp option set siteurl //foo.com
 wp option set home //foo.com

 After this, site login will loop forever, till siteurl + home are changed
 to include a protocol, either http: or https: will do.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39846>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list