EasyStash icon indicating copy to clipboard operation
EasyStash copied to clipboard

If key is a url can not load from file

Open caihua opened this issue 2 years ago • 0 comments

The key is a url like

"http://www.x.com/a.zip",

then can not save data like a string "xxx", and can not load by key, while from file load.

let key = "http://aaa.x.com/a.zip"

try storage?.save(object: "xxx", forKey: key)

let zipDir: String? = try storage?.load(forKey: key, as: String.self)

I use md5 to fix this in my app, but EasyStash still have this problem.

caihua avatar Nov 02 '21 08:11 caihua