overtrue/flysystem-qiniu

When the file path has \, getUrl has bug.

isszz opened this issue · 0 comments

isszz commented

QiniuAdapter::parse_url

$entities = array('%21', '%2A', '%27', '%28', '%29', '%3B', '%3A', '%40', '%26', '%3D', '%24', '%2C', '%2F', '%3F', '%23', '%5B', '%5D', '%5C');
$replacements = array('!', '*', "'", '(', ')', ';', ':', '@', '&', '=', '$', ',', '/', '?', '#', '[', ']', '/');

'%5C' replace '/'