[wp-trac] [WordPress Trac] #32311: incorect redirection

WordPress Trac noreply at wordpress.org
Fri May 8 12:00:09 UTC 2015


#32311: incorect redirection
--------------------------+-----------------------------
 Reporter:  selnomeria    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hello.
 if i include('wp-load.php') from an external MYFILE.php .
 when I open this url:

 {{{
 http://mysite.com/wp/MYDIR/MYFILE.php?query=bla&smt=\wp\dir\

 }}}

 but Wordpress is not installed yet, then from that URL, instead of:

 http://mysite.com/wp/MYDIR/wp3/wp-admin/install.php
 i am redirected to:
 http://mysite.com/wp/MYDIR/MYFILE.php?query=bla&smt=\wp\dir/wp-
 admin/install.php

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


More information about the wp-trac mailing list