aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-12 18:23:59 -0700
committerzotlabs <mike@macgirvin.com>2016-10-12 18:23:59 -0700
commit9a2f86e9ad3afadfafab59568bec6749a75478ab (patch)
tree19399354cea2875f36c3abed931e5608dc5490fc /include/attach.php
parent513b8959f5a73509972a1b26fd105a8a610337f8 (diff)
downloadvolse-hubzilla-9a2f86e9ad3afadfafab59568bec6749a75478ab.tar.gz
volse-hubzilla-9a2f86e9ad3afadfafab59568bec6749a75478ab.tar.bz2
volse-hubzilla-9a2f86e9ad3afadfafab59568bec6749a75478ab.zip
remove special handling of lookalike '@ char from attach path
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/attach.php b/include/attach.php
index e81a943c6..f7a107fc0 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -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 (U+FF20) &#65312;
- $path = str_replace('@', '@', notags(trim($path)));
+
+ $path = notags(trim($path));
$h = @parse_url($path);