Hi Gavo,

We could, and have in the past done this. But later we found a number of problems with things like Chinese characters and so on. Now, we support all file names, even those including quotes and tildes. But the & seems to be the only thing left.

We rather not make the system impose these kinds of restrictions and just make our system better instead.

We have a new system in production that would be well suited for extremely large number of files (100s of thousands). It is not feasible to rename all files, and also not desirable.
FShoppe Reviewed by FShoppe on . PHP problem handling urlencoded '&' (%26) char Hello all, A script we are working on deals with passing file names in the URL (via $_GET). Some files contain the '&' symbol in the name. & is the separator in PHP to identify the new $_GET variable. We typically use urlencode($theString) to encode 'funny' characters to be URL safe. However, PHP seems to treat the encoded '&' value in exactly the same way as if it were not encoded. Here is an example of the problem. Rating: 5