-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/Documents/../Library Path on IOS #49
Comments
Same for me. Any update on that? Did you solve it @mike-rowley ? |
Me too, what's the right away to use this? |
@mike-rowley I used a Replace as a workaround. Very dirty, but no idea how I could solve this...
|
BTW this works (for whatever reason... path still has /../Library in it, but it's able to save the file:
|
Thanks @MKahmen, I think the Path.Replace was the hack I used to keep things moving but I agree, very dirty. |
I've used System.IO.Path.GetFullPath() to remove the .. entries in the past, but it's not available in a PCL I thought about creating a pull request and changing all instances of Path.Combine in the platform specific code to something like:-
... but I didn't want to break everything! Is anyone braver than me??? |
@MKahmen Just started using this hack today hah. And thank goodness. XD |
I am getting /var/mobile/Containers/Data/Application/22FAAA71-766D-45CD-9349-C16547432F7B/Documents/../Library as my path on IOS. The .. seems to create problems with other parts of the app trying to use the Path.
Why am I getting "/Documents/../Library" instead of just "/Library"? And how can I fix it?
Thanks
M
The text was updated successfully, but these errors were encountered: