Comment and code about UTF-8 @-sign do not match.
Changed code according to comment: First AT is now full-width AT U+FF20. Do we also need to replace small AT U+FE6B?
This commit is contained in:
parent
6706bed676
commit
d5cd6f9a51
@ -1949,8 +1949,8 @@ 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);
|
||||
|
||||
|
Reference in New Issue
Block a user