From cdb1f5d4e908b6990ec0cb1a297a76f008f8dc30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 12 Sep 2013 10:03:19 +0200 Subject: [PATCH] Allow local links to documentation --- libraries/sanitizing.lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/sanitizing.lib.php b/libraries/sanitizing.lib.php index edfb397745..7e6e84db5b 100644 --- a/libraries/sanitizing.lib.php +++ b/libraries/sanitizing.lib.php @@ -23,6 +23,7 @@ function PMA_checkLink($url) 'https://', './url.php?url=http%3A%2F%2F', './url.php?url=https%3A%2F%2F', + './doc/html/', ); if (defined('PMA_SETUP')) { $valid_starts[] = '?page=form&'; @@ -169,7 +170,7 @@ function PMA_sanitize($message, $escape = false, $safe = false) * When exporting, avoiding generation of an unexpected double-extension file * * @param string $filename The filename - * @param boolean $replaceDots Whether to also replace dots + * @param boolean $replaceDots Whether to also replace dots * * @return string the sanitized filename *