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:
Klaus Weidenbach 2016-10-11 11:48:16 +02:00
parent 6706bed676
commit d5cd6f9a51

View File

@ -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);