projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6a3c26
)
Improve return path in mod/follow
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Sat, 10 Nov 2018 13:24:31 +0000
(08:24 -0500)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Sat, 10 Nov 2018 13:24:31 +0000
(08:24 -0500)
mod/follow.php
patch
|
blob
|
history
diff --git
a/mod/follow.php
b/mod/follow.php
index 08f664d39301e23e0ecf09218d837cb63296e47e..b92424c2083730c339c248dc93e1111190104b6c 100644
(file)
--- a/
mod/follow.php
+++ b/
mod/follow.php
@@
-27,7
+27,7
@@
function follow_post(App $a)
$uid = local_user();
$url = Strings::escapeTags(trim($_REQUEST['url']));
- $return_path = '
contacts'
;
+ $return_path = '
follow?url=' . urlencode($url)
;
// Makes the connection request for friendica contacts easier
// This is just a precaution if maybe this page is called somewhere directly via POST