Cannot reproduce upload .rar bug

javakhir

Well-known member
Affected version
2.2.2
found a bug in XF 2.2.2

.rar files with up to 90 symbols title, splitted into 4 parts, (part1, part2, part3, part4)
during upload XF renames them into

.rar.part1 to .rar
.rar.part2 to .rar.part1
.rar.part3 to .rar.part2
.rar.part4 to .rar.part3

after all parts downloaded, can not be extract
 
I can't reproduce this and I really can't see how XF could really be doing what you suggest. Most notably, changing the part# component of the extension. Indeed, there isn't really any reason for XF to change the extension at all, outside of a couple specific cases with images; we don't know what a RAR file looks like for example.

Note that there is a situation where the .rar part could disappear, though that is expected on the basis that .part# is the actual extension. If the filename is too long (>100 characters), we will remove the component just before the extension to make sure it fits.
 
problem caused after VB import to XF, we are moving all files to resources anyway.

to prevent this problem, I have limited title length to 65, which is good for SEO
 
Back
Top Bottom