jasonneko / iphonebrowser

Automatically exported from code.google.com/p/iphonebrowser
0 stars 0 forks source link

\ in iPhone file system causes uncaught .NET exception #109

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open iPhone file system
2. Navigate to GMail account 
(/var/mobile/Library/Mail/IMAP/accountname@gmail.com.../[Gmail]/)
3. Notice the "\Trash.imapmbox" folder. Attempt to navigate to it.

What is the expected output? What do you see instead?
I expected it to navigate to the folder. Also, the path in the status bar 
indicates that the code translated \ into /.

Instead of navigating, I got the following uncaught .NET exception:
System.Exception: Path does not exist
   at Manzana.iPhone.GetFiles(String path)
   at iPhoneBrowser.frmMain.loadFiles()
   at iPhoneBrowser.frmMain.trvFolders_AfterSelect(Object sender, 
TreeViewEventArgs e)
   at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)

What version of the product are you using? On what operating system?
1.9.1 on Windows Vista

Please provide any additional information below.

Original issue reported on code.google.com by michaelb...@gmail.com on 30 Jun 2009 at 9:48