Fixes #440 - 404 error after editing a link
Remove unnecessary escape().
This commit is contained in:
parent
5a23950c95
commit
fd50e14cba
1 changed files with 1 additions and 1 deletions
|
@ -1568,7 +1568,7 @@ function renderPage()
|
|||
exit;
|
||||
}
|
||||
|
||||
$returnurl = !empty($_POST['returnurl']) ? escape($_POST['returnurl']): '?';
|
||||
$returnurl = !empty($_POST['returnurl']) ? $_POST['returnurl'] : '?';
|
||||
$location = generateLocation($returnurl, $_SERVER['HTTP_HOST'], array('addlink', 'post', 'edit_link'));
|
||||
// Scroll to the link which has been edited.
|
||||
$location .= '#' . smallHash($_POST['lf_linkdate']);
|
||||
|
|
Loading…
Reference in a new issue