Escapes the LIKE metacharacters in the prefix. Drupal filenames legitimately contain _, which
is a single-character wildcard in LIKE, so an unescaped prefix would match sibling directories --
and a directory listing that returns another directory's files is how a delete-by-prefix removes
the wrong thing. The 50-byte LIKE-pattern ceiling measured on this platform applies, so a longer
prefix is filtered in JS instead.
Lists stored files under a URI prefix.
Escapes the LIKE metacharacters in the prefix. Drupal filenames legitimately contain
_, which is a single-character wildcard in LIKE, so an unescaped prefix would match sibling directories -- and a directory listing that returns another directory's files is how a delete-by-prefix removes the wrong thing. The 50-byte LIKE-pattern ceiling measured on this platform applies, so a longer prefix is filtered in JS instead.