[wp-trac] [WordPress Trac] #45138: mixed line endings: wp-config-sample.php uses CRLF (windows) line endings

WordPress Trac noreply at wordpress.org
Sat Oct 20 14:05:48 UTC 2018


#45138: mixed line endings: wp-config-sample.php uses CRLF (windows) line endings
--------------------------+-----------------------------
 Reporter:  mattpr        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  trivial       |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Not sure if this is on purpose?  Looks like it has always been that way.

 {{{
 # curl -s -N "https://core.trac.wordpress.org/browser/trunk/src/wp-
 login.php?format=txt" | head -n1 | hexdump -c
 0000000   <   ?   p   h   p  \n
 0000006
 }}}

 {{{
 # curl -s -N "https://core.trac.wordpress.org/browser/trunk/wp-config-
 sample.php?format=txt" | head -n1 | hexdump -c
 0000000   <   ?   p   h   p  \r  \n
 0000007
 }}}

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


More information about the wp-trac mailing list