Fixes #440 - 404 error after editing a link

Remove unnecessary escape().
This commit is contained in:
ArthurHoaro 2016-02-04 20:24:17 +01:00
parent 5a23950c95
commit fd50e14cba
1 changed files with 1 additions and 1 deletions

View File

@ -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']);