Commit Graph

40 Commits

Author SHA1 Message Date
Mark Jaquith 2cbc2f0e87 Roll back [5986], [5988], [5989]. We are in a char class, so no escaping needed. Props mdawaffe. see #4873
git-svn-id: https://develop.svn.wordpress.org/trunk@5993 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 18:13:48 +00:00
Mark Jaquith 00f5e9555d Better %0d/%0a sanitization for wp_redirect() from hakre. fixes #4819 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5990 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 17:46:09 +00:00
Ryan Boren effcdff92b Escape special chars in regex. Props eightize and Otto42. fixes #4873
git-svn-id: https://develop.svn.wordpress.org/trunk@5986 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 15:42:26 +00:00
Mark Jaquith 94563d9f33 Correctly grab Content-Type from old-school headers, skip blank headers. fixes #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5764 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 20:18:56 +00:00
Mark Jaquith b614486625 Don't add MIME-Version header twice (PHPMailer already adds it). see #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5763 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 19:11:23 +00:00
Mark Jaquith e51152beb3 compare mail headers case-insensitively and actually use the Content-Type specified. Props Nazgul. see: #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5762 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 18:28:56 +00:00
Mark Jaquith d0bb265782 strpos() is "haystack,needle", not "needle,haystack" Props pishmishy. fixes #4520
git-svn-id: https://develop.svn.wordpress.org/trunk@5761 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-26 18:06:17 +00:00
Ryan Boren 09da00f7fe Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Ryan Boren d993430968 Add a prophylactic sanitize_user()
git-svn-id: https://develop.svn.wordpress.org/trunk@5683 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 18:11:06 +00:00
rob1n 8998b56e76 wp_mail() rewrite that handles HTML mail. fixes #4296
git-svn-id: https://develop.svn.wordpress.org/trunk@5639 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 03:18:24 +00:00
Ryan Boren 90cd098abe Escapage
git-svn-id: https://develop.svn.wordpress.org/trunk@5441 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 00:56:12 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Ryan Boren 58200c8ac8 Add wp_mail_from filter. Props rob1n. fixes #2053
git-svn-id: https://develop.svn.wordpress.org/trunk@5061 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-18 23:16:14 +00:00
Mark Jaquith 09131bb5e8 Another typo in [4990]. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4996 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 06:17:15 +00:00
Mark Jaquith 56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Mark Jaquith 5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Ryan Boren 11611e96a8 Remove debug.
git-svn-id: https://develop.svn.wordpress.org/trunk@4947 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-26 03:42:25 +00:00
Ryan Boren 3b56c04035 Trying out phpmailer for wp_mail(). fixes #3862
git-svn-id: https://develop.svn.wordpress.org/trunk@4946 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-25 20:23:25 +00:00
Mark Jaquith d38a3f7777 Consistently use "Spam it:" and "Delete it:" in e-mails. fixes #3304
git-svn-id: https://develop.svn.wordpress.org/trunk@4885 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-15 05:51:59 +00:00
Ryan Boren 609db68a78 Cache user id instead of full user object in the userlogins cache. Props charleshooper. fixes #3716
git-svn-id: https://develop.svn.wordpress.org/trunk@4859 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-02 00:00:36 +00:00
Matt Mullenweg 3a6dd43506 Let's be a little less verbose here
git-svn-id: https://develop.svn.wordpress.org/trunk@4516 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 00:10:30 +00:00
Mark Jaquith 608fd4e44f trying Ryan's suggestion for #3215
git-svn-id: https://develop.svn.wordpress.org/trunk@4513 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-22 04:58:31 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Matt Mullenweg d3eee351ce Make these links shorter and remove unneeded vars
git-svn-id: https://develop.svn.wordpress.org/trunk@4432 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-30 19:27:24 +00:00
Mark Jaquith 8d76f3f702 Add wp_redirect filter, with cancel ability. fixes #3250
git-svn-id: https://develop.svn.wordpress.org/trunk@4407 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-18 22:02:30 +00:00
Mark Jaquith 41ace9de74 Prevent users from entering strings that will be interpreted as serialized arrays/objects on the way out. fixes #2591
git-svn-id: https://develop.svn.wordpress.org/trunk@4382 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-12 23:54:36 +00:00
Ryan Boren 29b992e902 Improved login from Viper007Bond. fixes #3123
git-svn-id: https://develop.svn.wordpress.org/trunk@4339 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 16:47:50 +00:00
Ryan Boren 7704ddd684 Silence gethostbyaddr(). Props MarkJaquith. fixes #2759
git-svn-id: https://develop.svn.wordpress.org/trunk@4288 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 03:05:54 +00:00
Ryan Boren 76f6cf50c9 Don't do status_header for IIS. Props Mark Jaquith. fixes #3190
git-svn-id: https://develop.svn.wordpress.org/trunk@4273 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 00:28:06 +00:00
Ryan Boren 52a2f4a6e1 Send 302 on redirect. Props leflo. fixes #3166
git-svn-id: https://develop.svn.wordpress.org/trunk@4252 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-26 00:55:21 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren cd766e57e9 s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: https://develop.svn.wordpress.org/trunk@4133 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 16:40:17 +00:00
Ryan Boren 6fd01856c7 wp_kses_no_null() redirect location for extra protection.
git-svn-id: https://develop.svn.wordpress.org/trunk@3992 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-06 00:28:37 +00:00
Ryan Boren 8b1e622739 Allow % so entities such as slashes don't break.
git-svn-id: https://develop.svn.wordpress.org/trunk@3939 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-30 00:43:23 +00:00
Ryan Boren dd6aa45584 wp_explain_nonce() and wp_nonce_ays(). Props mdawaffe. #2734
git-svn-id: https://develop.svn.wordpress.org/trunk@3934 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 08:06:00 +00:00
Ryan Boren 23e2a0a25f Use wp_redirect().
git-svn-id: https://develop.svn.wordpress.org/trunk@3928 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 05:38:56 +00:00
Ryan Boren 7028e093b6 More thorough URI sanitizer in wp_redirect().
git-svn-id: https://develop.svn.wordpress.org/trunk@3926 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-27 01:42:52 +00:00
Ryan Boren dbbb1802b6 wp_get_referer() and friends from robmiller and markjaquith. fixes #2800
git-svn-id: https://develop.svn.wordpress.org/trunk@3908 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 05:38:37 +00:00
Ryan Boren 216546a0b8 Include file renames. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3862 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-11 06:43:54 +00:00