[wp-trac] [WordPress Trac] #27866: Multisite subdirectory install breaks if network path has uppercase letters

WordPress Trac noreply at wordpress.org
Fri Apr 18 06:07:32 UTC 2014


#27866: Multisite subdirectory install breaks if network path has uppercase letters
-------------------------------------------------+-------------------------
 Reporter:  nacin                                |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  3.9.1
Component:  Bootstrap/Load                       |     Version:  3.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:  multisite
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by Denis-de-Bernardy):

 Replying to [comment:2 jeremyfelt]:
 > [https://core.trac.wordpress.org/attachment/ticket/27866/27866.diff
 27866.diff] uses `stripos()` instead, which is case insensitive. I have
 not dug too deep on what else could be affected by this yet.

 In case the downcasing is related to MySQL searches, MySQL's `LIKE`
 operator is case insensitive, as opposed to `=` and `IN`. It might be
 worth fetching a list of candidate sites using case insensitive matching
 in MySQL, and then using case-sensitive validation in PHP.

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


More information about the wp-trac mailing list