[wp-trac] [WordPress Trac] #33498: get_home_path does not stripslashes $_SERVER['SCRIPT_FILENAME'] before using it

WordPress Trac noreply at wordpress.org
Sat Aug 22 11:33:22 UTC 2015


#33498: get_home_path does not stripslashes $_SERVER['SCRIPT_FILENAME'] before
using it
----------------------------------------+------------------------------
 Reporter:  handsomejack201             |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  General                     |     Version:  4.3
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by handsomejack201):

 Attaching a cleaner patch. My apologies for not having a unit test, I'm
 not familiar with developing for WordPress. Just scratching an itch that
 bothers anyone working with WordPress on Windows :-)

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


More information about the wp-trac mailing list