It's by design, [#] and (#) is stripped from the end of the filename because (first reason) in the long, long ago I used to get swf files from places that appended those things to the end of the filenames. I can't 100% remember the exact details, I think it was like that if you copied swfs from Internet Explorer's cache (Temporary Internet Files). Or maybe some FTP program appended it, or a download manager program in case of there being more than one file of the same name. Windows add (2), (3) etc on top of the filename when copied into the same folder if you "keep both files". So this thing is a bit of laziness from my part but also (second reason) were a thing because I remember other people sometimes used to post these filenames with "[2]" or "(2)" appended to them, because they had gotten them from Temporary Internet Files or from copying them into their own massive flash folder, and didn't bother to rename them when uploading to /f/. So swfchan trimming that part from the filename prevented flashes to have a bunch of different seen filenames that were really just supposed to be the same. Filenames starting with "Copy of " or ending with " - copy" also gets modified to trim those appended strings. Rarely has this been much of a problem, only the "anon partyhard 2.O" flashes comes to mind. Originally that series was intended to end with brackets, I remember him mentioning it in a thread on /f/ where he were surprised the filename changed on swfchan, so he tweaked the filename format of the series. If I had made swfchan today I might not have implemented this "renaming of copied files"-thing, but on the other hand it would be pretty annoying if we were to start seeing a bunch of duplicate filenames separated only by strings clearly appended automatically by programs. Regardless I'm not going to change it now because although I think it would be safe I can't be sure I never wrote some function somewhere that assume the filenames always have those modifications. |