Index: functions.php
===================================================================
--- functions.php	(revision 44181)
+++ functions.php	(working copy)
@@ -636,7 +636,7 @@
 			. '(?:'
 				. '\([\w\d]+\)|'
 				. '(?:'
-					. "[^`!()\[\]{};:'\".,<>«»“”‘’\s]|"
+					. "[^`!()\[\]{};:'\".,<>Â«Â»â€œâ€â€˜â€™\s]|"
 					. '(?:[:]\d+)?/?'
 				. ')+'
 			. ')'
@@ -2134,7 +2134,7 @@
 	 * We also sometimes obey UPLOADS when rewriting is enabled -- see the next block.
 	 */
 	if ( defined( 'UPLOADS' ) && ! ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) ) {
-		$dir = ABSPATH . UPLOADS;
+		$dir = defined( 'UPLOADS_DIR' ) ? UPLOADS_DIR : ( defined( 'INDEX_ABSPATH' ) ? SITE_ABSPATH : ABSPATH ) . UPLOADS ;
 		$url = trailingslashit( $siteurl ) . UPLOADS;
 	}
 
