[wp-trac] [WordPress Trac] #56065: PHPCS issue in wp-load.php .

WordPress Trac noreply at wordpress.org
Fri Jun 24 07:51:42 UTC 2022


#56065: PHPCS issue in wp-load.php .
--------------------------+-----------------------------
 Reporter:  hilayt24      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 $_SERVER data not unslashed before sanitization.


 {{{
 if ( false === strpos( $_SERVER['REQUEST_URI'], 'setup-config' ) ) {
                 header( 'Location: ' . $path );
                 exit;
         }

 }}}

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


More information about the wp-trac mailing list