diff --git a/core/modules/system/src/Tests/TypedData/TypedDataTest.php b/core/modules/system/src/Tests/TypedData/TypedDataTest.php
index 19a030d..649ff6f 100644
--- a/core/modules/system/src/Tests/TypedData/TypedDataTest.php
+++ b/core/modules/system/src/Tests/TypedData/TypedDataTest.php
@@ -239,7 +239,8 @@ public function testGetAndSet() {
     $this->assertEqual($typed_data->validate()->count(), 0);
     $typed_data->setValue('invalid');
     $this->assertEqual($typed_data->validate()->count(), 1, 'Validation detected invalid value.');
-
+    $typed_data->setValue('public://field/image/Photo on 4-28-14 at 12.01 PM.jpg');
+    $this->assertEqual($typed_data->validate()->count(), 0, 'Filename with spaces is valid (see https://www.drupal.org/node/2278073).');
 
     // Generate some files that will be used to test the binary data type.
     $files = array();
