There are cases in which we have "," or "[" or "]" in the filename and we have to remove it.
I don't get why it works for you without this change. For me this change is required.
Maybe checking that the removed character is , or [ or ] would be better.
There are cases in which we have "," or "[" or "]" in the filename and we have to remove it. I don't get why it works for you without this change. For me this change is required.
Maybe checking that the removed character is , or [ or ] would be better.