Wordpress/tests/phpunit/tests/formatting
Scott Taylor 36a9be2af5 In `wp_sanitize_redirect()`, don't eat `@` characters. According to RFC 3986, "@" is a perfectly valid character in a URL path or query string.
Adds unit test.

Props markjaquith.
Fixes #18818.


git-svn-id: https://develop.svn.wordpress.org/trunk@33707 602fd350-edb4-49c9-b593-d223f7449a82
2015-08-22 17:04:17 +00:00
..
Autop.php Fix creating of extra `<br />` tags in both PHP and JS variants of wpautop(). Add PHP tests to catch similar problems in the future. 2015-08-17 17:35:58 +00:00
BlogInfo.php l10n: Update `wp_get_installed_translations()` to support variants of a language. 2015-07-01 15:42:32 +00:00
CleanPre.php
ConvertInvalidEntries.php After [32896], update `ConvertChars.php` unit tests and rename to `ConvertInvalidEntries.php`. 2015-06-25 19:50:14 +00:00
EscAttr.php After [33148]: 2015-07-14 17:55:07 +00:00
EscHtml.php After [33148]: 2015-07-14 17:55:07 +00:00
EscTextarea.php
EscUrl.php Don't strip newline in esc_url() when protocol is mailto: 2015-07-03 14:27:11 +00:00
GetUrlInContent.php
HtmlExcerpt.php
IsEmail.php Better test method name in formatting/IsEmail.php. 2014-11-19 19:31:17 +00:00
JSEscape.php After [33148]: 2015-07-14 17:55:07 +00:00
LikeEscape.php
LinksAddTarget.php
MakeClickable.php Remove failing tests related to square brackets being stripped in URL sanitizers. 2014-11-22 15:39:38 +00:00
NormalizeWhitespace.php
RemoveAccents.php
SanitizeFileName.php
SanitizeMimeType.php
SanitizeOrderby.php Clean up some edge cases in `sanitize_sql_orderby()`. 2015-04-20 05:41:37 +00:00
SanitizePost.php
SanitizeTextField.php
SanitizeTitle.php
SanitizeTitleWithDashes.php Improvements to encoded character formatting tests. 2014-11-22 19:53:37 +00:00
SanitizeTrackbackUrls.php
SanitizeUser.php Ensure `sanitize_user()` expected test values are lowercase on multisite. 2014-11-22 21:29:40 +00:00
SeemsUtf8.php Repair the `seems_utf8()` tests that use Big5 encoding. 2014-11-22 20:56:23 +00:00
Slashit.php
Smilies.php Unit Tests: The `get_smilies_combinations` test was failing when the tests were run with a non-default domain. 2015-04-20 10:10:53 +00:00
StripSlashesDeep.php
UrlEncodedToEntities.php Add emoji URL support, and Twemoji fallback for displaying slugs in wp-admin, when the browser doesn't natively support emoji. 2015-03-11 22:54:49 +00:00
Utf8UriEncode.php
WPSpecialchars.php After [33148]: 2015-07-14 17:55:07 +00:00
WPStripAllTags.php
WPTexturize.php `wptexturize()` improvements: 2015-06-19 20:05:52 +00:00
WPTrimWords.php
WpHtmlEditPre.php Add `expectedDeprecated` flags to `wp_richedit_pre()` and `wp_htmledit_pre()` unit tests. 2015-06-23 14:41:39 +00:00
WpReplaceInHtmlTags.php Remove `svn:executable` from test files. 2015-07-26 09:40:58 +00:00
WpRichEditPre.php Add `expectedDeprecated` flags to `wp_richedit_pre()` and `wp_htmledit_pre()` unit tests. 2015-06-23 14:41:39 +00:00
WpTrimExcerpt.php Use correct notation for global functions in `@covers` test annotations. 2014-12-19 15:20:41 +00:00
Zeroise.php
balanceTags.php
date.php
ent2ncr.php
isoDescrambler.php
redirect.php In `wp_sanitize_redirect()`, don't eat `@` characters. According to RFC 3986, "@" is a perfectly valid character in a URL path or query string. 2015-08-22 17:04:17 +00:00
wp_basename.php