stringByStandardizingPath not only gets rid of . and .. in the path but also remove an initial component of “/private” from the path if the result still indicates an existing file or directory (checked by consulting the file system).
The /private only shows up when running on device (not in simulator) but causes the if (![filePath hasPrefix:wwwDirPath]) check to always fail.
Merge pull request #816 from wmathurin/master

stringByStandardizingPath not only gets rid of . and .. in the path
Adding tests for KeyStoreManager.
Merge pull request #824 from wmathurin/unstable

Modified user agent for calls coming out of Sync Manager
Adding tests for KeyStoreManager.
Merge branch 'unstable' of https://github.com/forcedotcom/SalesforceMobileSDK-iOS into unstable
added observer tests
Renaming ContactSObjectData to ContactSFObject
In progress contact migration
Backing out of SFObject changes
More reverting
Refactoring of unit tests. Work in progress.
Adding tests for migrating key stores.
Added passcode-2-passcode test case.
Added passcode scenario tests.
removed log statement.
Reverting the private method I added to +internal.h file as I no longer needed it.
Change to using YES/NO instead of TRUE/FALSE.
Now accessing properties via dot-notation.
Modified dictionary instantiation to use @{} syntax.
Added (c) headers.
Misc other changes from review.
Merge pull request #826 from dbreese/unstable

Fixed compile errors and added a bunch of unit tests for SalesforceSecurity library.
This fixes several broken unit tests as initializing the dictionary with "nil" as a value causes crash. This was causing 2 tests to fail: testSOQLError and testUploadDownloadDeleteFile.
Merge pull request #827 from dbreese/unstable

This fixes several broken unit tests as initializing the dictionary with...