- Timestamp:
- 02/21/2020 01:05:39 PM (5 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
- Property svn:mergeinfo changed
-
branches/3.8/tests/phpunit/tests/formatting/SanitizeUser.php
r25002 r47338 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.