WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #15729, comment 8


Ignore:
Timestamp:
12/23/10 02:45:42 (4 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15729, comment 8

    initial v1  
    1 Perhaps we should use `htmlspecialchars( $dbname, ENT_QUOTES, 'UTF-8' )` instead of just `htmlspecialchars( $dbname, ENT_QUOTES )`. Though I'm not exactly sure if MySQL allows UTF-8 characters in database name, username or password, I've tried to create a MySQL user with Cyrillic username and it seems to be working. 
     1Perhaps we should add the charset parameter to all instances of `htmlspecialchars()`. Though I'm not exactly sure if MySQL allows UTF-8 characters in database name, username or password, I've tried to create a MySQL user with Cyrillic username and it seems to be working.