SMB: Enable share path
Correctly parses address into host and path.
Existing: Address: /Share/PathName Host: Share%2fPathName Path: null URL: Share%2fPathName Result: FAIL
Update: Address: /Share/PathName Host: Share Path: /PathName URL: /Share/PathName Result: PASS
(closes https://trac.videolan.org/vlc/ticket/22938)
Since I am unable to fork any repositories, and the code change to make this work is minimal, I shall post the diff for anybody who has access to apply and can spare 5 minutes. I have posted the same pull request on GitHub but am told it is now depreciated.
SharedSources/ServerBrowsing/SMB/VLCLocalNetworkServiceBrowserDSM.m
91 - components.host = login.address;
91 + components.host = [login.address componentsSeparatedByString:@"/"] [0];
91 + components.path = [NSString stringWithFormat:@"/%@", [login.address componentsSeparatedByString:@"/"] [1]];