Bug #1011

FA scanner shows some filenames from SMB shares incorrectly (in the end of the name you can see chinese chars) and the file can't be opened

Added by Ca Ra over 8 years ago. Updated almost 7 years ago.

Status:FixedStart date:05/25/2012
Priority:HighDue date:
Assignee:Andreas Smas% Done:

0%

Category:Filesystem
Target version:4.4
Found in version:all Platform:PS3

Description

some dirs won't open over samba

the error is:

original name:
"folder with videos with some random kitten"

name in showtime:
"folder with videos wit唏完"

error is:
failed to open "folder with videos wit唏完"

Associated revisions

Revision faa092fc
Added by Andreas Smas almost 7 years ago

smb: Fix more issues in SMB TRANS2 decoding

Fixes #1011

Change included in version 4.3.720

History

#1 Updated by Andreas Smas over 8 years ago

  • Status changed from New to Accepted
  • Target version set to 4.0

What server software are you using?

#2 Updated by Ca Ra over 8 years ago

stock windows 7

#3 Updated by Tiago windcrusher over 8 years ago

I'm have this problem too, in Windows xp pro

But, this folder has created from Utorrent.
I'm rename folder and this as resolved.

#4 Updated by Andreas Smas about 8 years ago

  • Target version changed from 4.0 to 33

#5 Updated by Leonid Protasov almost 7 years ago

Torrent specs forbid create non utf8 names, but often it's not considered by torrent uploaders. I beleive that has nothing to do with Showtime and issue should be closed.

#6 Updated by Leonid Protasov almost 7 years ago

  • Subject changed from smb: certain folders read some english chars as chinese and fail to open to smb: certain files in folders are incorrectly read some english chars and show them chinese and fail to open
  • Priority changed from Normal to High
  • Target version changed from 33 to 4.4
  • Found in version changed from latest to all

I also found that. To reproduce - share over SMB any mp3 collection the more files the better (put it into one or two subfolders) it's not connected to path length btw. Enter from ST to that share and from page menu switch off "Don't display unsupported files". You will see that files in that list.

That is somehow connected to FA scanner or smb client. Don't know exactly which of those two does name corruption.

Affects all platforms.

#7 Updated by Leonid Protasov almost 7 years ago

  • Subject changed from smb: certain files in folders are incorrectly read some english chars and show them chinese and fail to open to Some english filenames over SMB share are incorrectly read (part of the name is displayed as chinese chars) and file can't be opened

Bug is not related to path/filename length or chars it consists from. Just moving that file to another place resolves the issue.

#8 Updated by Leonid Protasov almost 7 years ago

Installed UMS and accessed the same folder via UPnP. All filenames are looking and open properly. Not sure where the bug lives in ST - FA scanner or SMB client...

#9 Updated by Leonid Protasov almost 7 years ago

In the log you get on that items:
00:00:13.867: FA [DEBUG]:smb://192.168.0.190/test: File smb://192.168.0.190/test/Empire.of.Silve杀胞 removed by rescan
00:00:13.886: FA [DEBUG]:smb://192.168.0.190/test: File smb://192.168.0.190/test/Empire.of.Silve摀造 added by rescan

#10 Updated by Leonid Protasov almost 7 years ago

  • Subject changed from Some english filenames over SMB share are incorrectly read (part of the name is displayed as chinese chars) and file can't be opened to FA scanner shows some filenames from SMB shares incorrectly (in the end of the name you can see chinese chars) and the file can't be opened

#11 Updated by Andreas Smas almost 7 years ago

  • Status changed from Accepted to Fixed

Fixed now I think

Also available in: Atom PDF