Verified Commit 67e08e31 authored by Dave Long's avatar Dave Long
Browse files

fix: #3479427 Single Directory Components incompatible with Windows

By: spalmstrom
By: danchadwick
By: poker10
By: ghost of drupal past
(cherry picked from commit 55c97059)
parent 033a864f
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -83,6 +83,9 @@ public function generateKey(string $name, string $className): string {
    }
    else {
      $name = basename($name);
      // Windows does not allow colons, which are used by Single Directory
      // Components, in directory or file names.
      $name = str_replace(':', '_', $name);
    }

    // Windows (and some encrypted Linux systems) only support 255 characters in