From aff7f2ed9cebc68844115276df87d413f678c234 Mon Sep 17 00:00:00 2001 From: Stephan Brunker Date: Mon, 6 Apr 2020 19:36:10 +0200 Subject: [PATCH] functions_entries: use rewriteURL function for comment submit link --- include/functions_entries.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions_entries.inc.php b/include/functions_entries.inc.php index 6e250df8..17d6e54b 100644 --- a/include/functions_entries.inc.php +++ b/include/functions_entries.inc.php @@ -1271,7 +1271,7 @@ function serendipity_printEntries($entries, $extended = 0, $preview = false, $sm $serendipity['smarty']->assign($comment_add_data); serendipity_displayCommentForm( $entry['id'], - $serendipity['serendipityHTTPPath'] . $serendipity['indexFile'] . '?url=' . $entry['commURL'], + serendipity_rewriteURL($entry['commURL'],'baseURL'), true, $userData, true,