I ran into a strange bug when I was creating a directory on my ModX server. I wrote a snippet whichs grabs a vehicle image from an AWS server and saves it on the ModX server. Also, I’ve codied the path structure on the AWS server and recreate that path on the ModX installation server.
Example: suzuki/swift/gl/2020/gallery (AWS server path) to assets/aws/suzuki/swift/gl/2020/gallery (ModX server)
Something odd is happening if there is a directory that ends with a “+”. Some vehicle models are “gl+” and whenever I try to create “suzuki/swift/gl+/2020/gallery” on the ModX server, it is only creating up to “suzuki/swift/gl+”. I cannot load or view any directories after “gl+” in the ModX dashboard. However, if I use a FTP client like filezilla or a terminal like putty I can see that the directory was created but thr ModX dashboard doesn’t recognize it. This prevents me from accessing any directory or files beyond a directory ending with a “+”.
Any idea what is the cause of this bug? How can it be fixed?