[wp-trac] [WordPress Trac] #33131: Missing trailing slash when ssl cookie is set
WordPress Trac
noreply at wordpress.org
Mon Aug 31 08:00:39 UTC 2015
#33131: Missing trailing slash when ssl cookie is set
------------------------------------+----------------------
Reporter: m1au | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Login and Registration | Version: 4.2.3
Severity: normal | Resolution: invalid
Keywords: | Focuses:
------------------------------------+----------------------
Changes (by johnbillion):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Thanks for the report, m1au. Sorry you didn't get a response sooner.
The code in question (in `wp-login.php`) only handles the redirect
location after a user logs in. It doesn't affect how rewrite rules behave.
Additionally, rewrite rules aren't used for admin area URLs unless you're
running Multisite.
The lack of a trailing slash here is so that any value of
`$_REQUEST['redirect_to']` that contains `wp-admin` gets matched, and the
scheme of the redirect gets set to `https`.
If you're having problems with rewrite rules I would recommend
[https://wordpress.org/support/ opening a support forum thread] with some
more details of your site's configuration and exactly what problem you're
seeing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33131#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list