revolution icon indicating copy to clipboard operation
revolution copied to clipboard

Media Browser doesn't show files for directories with an ampersand (&) character

Open JoshuaLuckers opened this issue 5 years ago • 3 comments

Bug report

Summary

While testing PR #14263 I noticed that the media browser doesn't show files for directories containing an ampersand (&) character.

Step to reproduce

  1. Create a directory with an ampersand, eg. Something & Something (not via the media browser).
  2. Put some files in it
  3. Navigate to the directory using the MODX media browser.

Observed behavior

The media browser does not list the files in the directory if the directory name contains an & character. Deleting it is also not possible and will throw an error: The specified directory is not a directory.

Expected behavior

The media browser should display files in directories whose name contain characters the filesystem allows.

Environment

MODX 2.7.x-dev

JoshuaLuckers avatar Jan 12 '19 11:01 JoshuaLuckers

Perhaps related to https://github.com/modxcms/revolution/issues/12932

Ruslan-Aleev avatar Jan 17 '19 13:01 Ruslan-Aleev

Related with https://github.com/modxcms/revolution/issues/13412

Ruslan-Aleev avatar Jan 19 '19 22:01 Ruslan-Aleev

This is still a problem in 2.8.6 (but is not on 3.x) ... checking it out ....

smg6511 avatar Oct 03 '23 21:10 smg6511