Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(storage): bug when getting the root ref of a bucket (#3455)
A bug crashes the app when trying to list objects, root urls don't have a "/" so rangeOfString gives location == NSNotFound, if it goes unchecked rangeOfSlash.location + 5 creates range outside the bounds Co-authored-by: Mike Hardy <github@mikehardy.net>
- Loading branch information
02132ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: