[wp-trac] [WordPress Trac] #37670: wp_validate_redirect fails when running WordPress on a port

WordPress Trac noreply at wordpress.org
Tue Aug 16 00:32:00 UTC 2016


#37670: wp_validate_redirect fails when running WordPress on a port
-------------------------------+------------------------------
 Reporter:  raptor235          |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Security           |     Version:  4.5.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by dd32):

 * keywords:   => reporter-feedback


Comment:

 Replying to [ticket:37670 raptor235]:
 > where
 > {{{
 > $wpp = parse_url(home_url());
 > }}}
 >
 >
 > equals
 >
 >
 > {{{
 > array (size=2)
 >   'scheme' => string 'http' (length=4)
 >   'host' => string 'localhost:3002' (length=23)
 > }}}

 Hi @raptor235 and welcome back to Trac :)

 Can you do some extra debugging around this line and let us know the exact
 inputs and versions of PHP which you're running?

 PHP specifically specifically separates out the port, in
 [https://3v4l.org/seEbR all versions of PHP] when using the input
 `http://localhost:3002`. The only time

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37670#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list