Merge pull request #545 from dawnbreak/atfix

Comment and code about UTF-8 @-sign do not match.
This commit is contained in:
zotlabs 2016-10-13 12:21:27 +11:00 committed by GitHub
commit 513b8959f5

View File

@ -1948,9 +1948,9 @@ function get_attach_binname($s) {
function get_dirpath_by_cloudpath($channel, $path) {
// Warning: Do not edit the following line. The first symbol is UTF-8 @
$path = str_replace('@','@',notags(trim($path)));
// Warning: Do not edit the following line. The first symbol is UTF-8 (U+FF20) @
$path = str_replace('', '@', notags(trim($path)));
$h = @parse_url($path);