From d5cd6f9a5137f53b8a50c81bbd4f4838c0707db1 Mon Sep 17 00:00:00 2001 From: Klaus Weidenbach Date: Tue, 11 Oct 2016 11:48:16 +0200 Subject: 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? --- include/attach.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/attach.php b/include/attach.php index b5c334d3e..e81a943c6 100644 --- a/include/attach.php +++ b/include/attach.php @@ -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); -- cgit v1.2.3