aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2016-10-11 11:48:16 +0200
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2016-10-11 11:48:16 +0200
commitd5cd6f9a5137f53b8a50c81bbd4f4838c0707db1 (patch)
tree97e33c9348de78a83c5354b08b808cf4cf2d1c3e /include/attach.php
parent6706bed676a9b6e8fa5d1d6e72644f37fb59c4d0 (diff)
downloadvolse-hubzilla-d5cd6f9a5137f53b8a50c81bbd4f4838c0707db1.tar.gz
volse-hubzilla-d5cd6f9a5137f53b8a50c81bbd4f4838c0707db1.tar.bz2
volse-hubzilla-d5cd6f9a5137f53b8a50c81bbd4f4838c0707db1.zip
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?
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php6
1 files changed, 3 insertions, 3 deletions
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 &#65312;
- $path = str_replace('@','@',notags(trim($path)));
+
+ // Warning: Do not edit the following line. The first symbol is UTF-8 (U+FF20) &#65312;
+ $path = str_replace('@', '@', notags(trim($path)));
$h = @parse_url($path);