- Timestamp:
- 03/26/2019 12:45:57 AM (6 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
- Property svn:mergeinfo changed
/trunk merged: 29860,29869,29954,30160,30530
- Property svn:mergeinfo changed
-
branches/4.0/tests/phpunit/tests/formatting/SanitizeUser.php
r25002 r45013 10 10 $this->assertEquals($expected, sanitize_user($input)); 11 11 } 12 /**13 * @ticket 1082314 */15 function test_strips_entities() {16 $this->assertEquals("ATT", sanitize_user("AT&T"));17 $this->assertEquals("ATT Test;", sanitize_user("AT&T Test;"));18 $this->assertEquals("AT&T Test;", sanitize_user("AT&T Test;"));19 }20 12 function test_strips_percent_encoded_octets() { 21 13 $expected = is_multisite() ? 'franois' : 'Franois';
Note: See TracChangeset
for help on using the changeset viewer.