On 0.72 gold, I’m having a problem with allowing file types for file upload. The form says to put a space before and after each type – so ” jpg gif png ” should work. The problem is that the final space seems to be getting truncated somewhere. Whenever I go back to the config page, it shows up as ” jpg gif png” (with no final space) and when I try to upload a file, it only allows jpg and gif.
I rearranged the line as ” jpg png gif ” – it still truncates the final space, and now it allows jpg and png but not gif.
I figure I can put a junk extension in there, or just not upload any gifs. But I suspect the same thing might happen with what users are allowed to upload, because I see the same trailing-space being chomped problem on that line.
- The topic ‘file upload type problem’ is closed to new replies.