Index: wp-includes/functions.php
===================================================================
--- wp-includes/functions.php	(Revision 46583)
+++ wp-includes/functions.php	(Arbeitskopie)
@@ -2309,6 +2309,9 @@
 	 */
 	if ( defined( 'UPLOADS' ) && ! ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) ) {
 		$dir = ABSPATH . UPLOADS;
+		if ( 0 === strpos( UPLOADS, '../' ) AND realpath( ABSPATH . UPLOADS ) ) {
+			$dir = realpath( ABSPATH . UPLOADS );
+		}
 		$url = trailingslashit( $siteurl ) . UPLOADS;
 	}
 
